{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 911,
   "id": "f28d7abf",
   "metadata": {},
   "outputs": [],
   "source": [
    "from datetime import datetime\n",
    "import sys\n",
    "import os\n",
    "import math\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "import datetime\n",
    "from pandas.tseries.holiday import USFederalHolidayCalendar\n",
    "from pandas.tseries.offsets import CustomBusinessDay\n",
    "US_BUSINESS_DAY = CustomBusinessDay(calendar=USFederalHolidayCalendar())\n",
    "import matplotlib.pyplot as plt\n",
    "import plotly.graph_objects as go\n",
    "from plotly.subplots import make_subplots\n",
    "import itertools\n",
    "import matplotlib.dates as mpl_dates\n",
    "import yfinance as yf\n",
    "from finta import TA"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 912,
   "id": "cfd3317f",
   "metadata": {},
   "outputs": [],
   "source": [
    "def load_historic_data(symbol, start_date_str, today_date_str, period, interval, prepost):\n",
    "    try:\n",
    "        df = yf.download(symbol, start=start_date_str, end=today_date_str, period=period, interval=interval, prepost=prepost)\n",
    "        #  Add symbol\n",
    "        df[\"Symbol\"] = symbol\n",
    "        df['high'] = df['High']\n",
    "        df['low'] = df['Low']\n",
    "        df['open'] = df['Open']\n",
    "        df['close'] = df['Close']\n",
    "        df = pd.DataFrame(df, columns = ['open','low', 'high','close'])\n",
    "        return df\n",
    "    except:\n",
    "        print('Error loading stock data for ' + symbol)\n",
    "        return None"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 913,
   "id": "68aa76fc",
   "metadata": {},
   "outputs": [],
   "source": [
    "def calculate_tis(df, atr_period):\n",
    "    #  Calculate ATR\n",
    "    atr = TA.ATR(df, period=atr_period)\n",
    "    \n",
    "    #  Calculate chandelier exits\n",
    "    chandelier_info = TA.CHANDELIER(df, short_period=atr_period, long_period=atr_period, k=3)\n",
    "\n",
    "    #  Add to price dataframe\n",
    "    df = pd.concat([df, atr, chandelier_info], axis=1, ignore_index=False)\n",
    "\n",
    "    return df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 914,
   "id": "48c5dca6",
   "metadata": {},
   "outputs": [],
   "source": [
    "def calculate_signals(df):\n",
    "    #  Long position\n",
    "    df['enter_long'] = np.where((df['close'] > df['Short.']) & (df['close'].shift(1) <= df['Short.'].shift(1)), 1, 0)\n",
    "    df['exit_long'] = np.where((df['close'] < df['Long.']) & (df['close'].shift(1) >= df['Long.'].shift(1)), 1, 0) \n",
    "    \n",
    "    #  Short position\n",
    "    df['enter_short'] = np.where((df['close'] < df['Long.']) & (df['close'].shift(1) >= df['Long.'].shift(1)), 1, 0)\n",
    "    df['exit_short'] = np.where((df['close'] > df['Short.']) & (df['close'].shift(1) <= df['Short.'].shift(1)), 1, 0)\n",
    "    return df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 915,
   "id": "89102f84",
   "metadata": {},
   "outputs": [],
   "source": [
    "def execute_strategy(df):\n",
    "    close_prices = df['close'].to_numpy()\n",
    "    enter_long = df['enter_long'].to_numpy()\n",
    "    exit_long = df['exit_long'].to_numpy()\n",
    "    enter_short = df['enter_short'].to_numpy()\n",
    "    exit_short = df['exit_short'].to_numpy()\n",
    "    \n",
    "    last_long_entry_price = 0\n",
    "    last_short_entry_price = 0\n",
    "    long_entry_prices = []\n",
    "    long_exit_prices = []\n",
    "    short_entry_prices = []\n",
    "    short_exit_prices = []\n",
    "    hold_long = 0\n",
    "    hold_short = 0\n",
    "\n",
    "    for i in range(len(close_prices)):\n",
    "        current_price = close_prices[i]\n",
    "        \n",
    "        #  Enter long \n",
    "        if hold_long == 0 and enter_long[i] == 1:\n",
    "            last_long_entry_price = current_price\n",
    "            long_entry_prices.append(current_price)\n",
    "            long_exit_prices.append(np.nan)\n",
    "            hold_long = 1\n",
    "        #  Exit long\n",
    "        elif hold_long == 1 and exit_long[i] == 1:\n",
    "            long_entry_prices.append(np.nan)\n",
    "            long_exit_prices.append(current_price)\n",
    "            hold_long = 0\n",
    "        else:\n",
    "            #  Neither entry nor exit\n",
    "            long_entry_prices.append(np.nan)\n",
    "            long_exit_prices.append(np.nan)\n",
    "\n",
    "        #  Enter Short \n",
    "        if hold_short == 0 and enter_short[i] == 1:\n",
    "            last_short_entry_price = current_price\n",
    "            short_entry_prices.append(current_price)\n",
    "            short_exit_prices.append(np.nan)\n",
    "            hold_short = 1\n",
    "        #  Exit short\n",
    "        elif hold_short == 1 and exit_short[i] == 1:\n",
    "            short_entry_prices.append(np.nan)\n",
    "            short_exit_prices.append(current_price)\n",
    "            hold_short = 0\n",
    "        else:\n",
    "            #  Neither entry nor exit\n",
    "            short_entry_prices.append(np.nan)\n",
    "            short_exit_prices.append(np.nan)\n",
    "\n",
    "    return long_entry_prices, long_exit_prices, short_entry_prices, short_exit_prices"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 916,
   "id": "b88c465a",
   "metadata": {},
   "outputs": [],
   "source": [
    "def plot_graph(symbol, df, atr_period, long_entry_prices, long_exit_prices, short_entry_prices, short_exit_prices):\n",
    "    fig = make_subplots(rows=2, cols=1, subplot_titles=['close','ATR'])\n",
    "\n",
    "    #  Plot close price\n",
    "    fig.add_trace(go.Line(x = df.index, y = df['close'], line=dict(color=\"blue\", width=1), name=\"Close\"), row = 1, col = 1) \n",
    "    \n",
    "    #  Chandelier lines\n",
    "    fig.add_trace(go.Line(x = df.index, y = df['Long.'], line=dict(color=\"green\", width=1), name=\"Chandelier Long\"), row = 1, col = 1) \n",
    "    fig.add_trace(go.Line(x = df.index, y = df['Short.'], line=dict(color=\"red\", width=1), name=\"Chandelier Short\"), row = 1, col = 1)   \n",
    "    \n",
    "    #  Plot ATR\n",
    "    fig.add_trace(go.Line(x = df.index, y = df[f\"{atr_period} period ATR\"], line=dict(color=\"blue\", width=1), name=\"ATR\"), row = 2, col = 1)\n",
    "\n",
    "    #  Long markers\n",
    "\n",
    "    fig.add_trace(go.Scatter(x=df.index, y=long_entry_prices, marker_symbol=\"arrow-up\", marker=dict(\n",
    "        color='green',size=9\n",
    "    ),mode='markers',name='Enter Long'))\n",
    "    fig.add_trace(go.Scatter(x=df.index, y=long_exit_prices, marker_symbol=\"arrow-down\", marker=dict(\n",
    "        color='red', size=9\n",
    "    ),mode='markers',name='Exit Long'))\n",
    "\n",
    "    \"\"\" uncomment to see \n",
    "    #  Short markers\n",
    "    fig.add_trace(go.Scatter(x=df.index + 8, y=short_entry_prices, marker_symbol=\"arrow-down\", marker=dict(\n",
    "        color='#8eb028',size=9\n",
    "    ),mode='markers',name='Enter Short'))\n",
    "    fig.add_trace(go.Scatter(x=df.index + 8, y=short_exit_prices, marker_symbol=\"arrow-up\", marker=dict(\n",
    "        color='#7b32a8', size=9\n",
    "    ),mode='markers',name='Exit Short'))\n",
    "    \"\"\"\n",
    "    \n",
    "    fig.update_layout(\n",
    "        title={'text':f\"{symbol} with Chandelier Exits\", 'x':0.5},\n",
    "        autosize=False,\n",
    "        width=1000,height=800)\n",
    "    fig.update_yaxes(range=[0,1000000000],secondary_y=True)\n",
    "    fig.update_yaxes(visible=False, secondary_y=True)  #hide range slider\n",
    "    \n",
    "    fig.show()\n",
    "    fig.write_image('plot.png', format=\"png\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 917,
   "id": "9069b424",
   "metadata": {},
   "outputs": [],
   "source": [
    "def calculate_profit(start_investment, long_entry_prices, long_exit_prices, short_entry_prices, short_exit_prices):\n",
    "    hold_long, hold_short = 0, 0\n",
    "    available_funds = start_investment\n",
    "    cost_long, cost_short = 0, 0\n",
    "    num_stocks_long, num_stocks_short = 0, 0\n",
    "    proceeds_short = 0\n",
    "    profit = 0\n",
    "    for i in range(len(long_entry_prices)):\n",
    "        #  Go long\n",
    "        current_entry_price_long = long_entry_prices[i]\n",
    "        current_exit_price_long = long_exit_prices[i]\n",
    "        if not math.isnan(current_entry_price_long) and hold_long == 0:\n",
    "            num_stocks_long = available_funds / current_entry_price_long\n",
    "            cost_long = num_stocks_long * current_entry_price_long\n",
    "            hold_long = 1\n",
    "\n",
    "        elif hold_long == 1 and not math.isnan(current_exit_price_long):\n",
    "            hold_long = 0\n",
    "            proceeds = num_stocks_long * current_exit_price_long\n",
    "            profit += proceeds - cost_long\n",
    "\n",
    "        #  Go short\n",
    "        current_entry_price_short = short_entry_prices[i]\n",
    "        current_exit_price_short = short_exit_prices[i]\n",
    "        if not math.isnan(current_entry_price_short) and hold_short == 0:\n",
    "            num_stocks_short = available_funds / current_entry_price_short\n",
    "            proceeds_short = num_stocks_short * current_entry_price_short\n",
    "            hold_short = 1\n",
    "        elif hold_short == 1 and not math.isnan(current_exit_price_short):\n",
    "            hold_short = 0\n",
    "            cost_short = num_stocks_short * current_exit_price_short\n",
    "            profit += proceeds_short - cost_short\n",
    "\n",
    "    return math.trunc(profit)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 918,
   "id": "c4e65528",
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[*********************100%***********************]  1 of 1 completed\n",
      "Total profit: 5\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\dutch\\anaconda3\\envs\\tradesystem1\\lib\\site-packages\\plotly\\graph_objs\\_deprecations.py:378: DeprecationWarning:\n",
      "\n",
      "plotly.graph_objs.Line is deprecated.\n",
      "Please replace it with one of the following more specific types\n",
      "  - plotly.graph_objs.scatter.Line\n",
      "  - plotly.graph_objs.layout.shape.Line\n",
      "  - etc.\n",
      "\n",
      "\n"
     ]
    },
    {
     "data": {
      "application/vnd.plotly.v1+json": {
       "config": {
        "plotlyServerURL": "https://plot.ly"
       },
       "data": [
        {
         "line": {
          "color": "blue",
          "width": 1
         },
         "name": "Close",
         "type": "scatter",
         "x": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278,
          279,
          280,
          281,
          282,
          283,
          284,
          285,
          286,
          287,
          288,
          289,
          290,
          291,
          292,
          293,
          294,
          295,
          296,
          297,
          298,
          299,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          309,
          310,
          311,
          312,
          313,
          314,
          315,
          316,
          317,
          318,
          319,
          320,
          321,
          322,
          323,
          324,
          325,
          326,
          327,
          328,
          329,
          330,
          331,
          332,
          333,
          334,
          335,
          336,
          337,
          338,
          339,
          340,
          341,
          342,
          343,
          344,
          345,
          346,
          347,
          348,
          349,
          350,
          351,
          352,
          353,
          354,
          355,
          356,
          357,
          358,
          359,
          360,
          361,
          362,
          363,
          364,
          365,
          366,
          367,
          368,
          369,
          370,
          371,
          372,
          373,
          374,
          375,
          376,
          377,
          378,
          379,
          380,
          381,
          382,
          383,
          384,
          385,
          386,
          387,
          388,
          389,
          390,
          391,
          392,
          393,
          394,
          395,
          396,
          397,
          398,
          399
         ],
         "xaxis": "x",
         "y": [
          0.09235741198062897,
          0.0914560928940773,
          0.09128795564174652,
          0.09138757735490799,
          0.09104734659194946,
          0.09086687117815018,
          0.09056251496076584,
          0.09067747741937637,
          0.09015996754169464,
          0.09015320241451263,
          0.09034828841686249,
          0.09033171832561493,
          0.08973667770624161,
          0.08955994993448257,
          0.08986250311136246,
          0.09014479070901871,
          0.08964391052722931,
          0.09005267918109894,
          0.08975042402744293,
          0.0897703692317009,
          0.08994824439287186,
          0.0904541015625,
          0.09029930830001831,
          0.08991661667823792,
          0.08882871270179749,
          0.08773500472307205,
          0.08779507875442505,
          0.0875278115272522,
          0.08725076913833618,
          0.08758784830570221,
          0.08772825449705124,
          0.08775938302278519,
          0.08796557039022446,
          0.0882049947977066,
          0.08822526782751083,
          0.08816687762737274,
          0.08765359222888947,
          0.08718108385801315,
          0.08709868043661118,
          0.0872890055179596,
          0.08720991760492325,
          0.08768533170223236,
          0.08796963840723038,
          0.08844961225986481,
          0.08808933943510056,
          0.08811946958303452,
          0.0879824161529541,
          0.08806771785020828,
          0.0876961275935173,
          0.08782503008842468,
          0.08801713585853577,
          0.08798093348741531,
          0.08808250725269318,
          0.08763954788446426,
          0.08778246492147446,
          0.08710654079914093,
          0.08733247220516205,
          0.08722028881311417,
          0.08715934306383133,
          0.08690595626831055,
          0.08707655221223831,
          0.08689282089471817,
          0.08658953011035919,
          0.08721909672021866,
          0.08674290031194687,
          0.08667171001434326,
          0.0867665708065033,
          0.08647140860557556,
          0.08691801130771637,
          0.08732366561889648,
          0.08737878501415253,
          0.08745822310447693,
          0.0877106785774231,
          0.0877140462398529,
          0.08786558359861374,
          0.08777179569005966,
          0.08776930719614029,
          0.08751983940601349,
          0.08745913952589035,
          0.08711927384138107,
          0.08740506321191788,
          0.08736251294612885,
          0.08746536076068878,
          0.08775900304317474,
          0.08810268342494965,
          0.08793559670448303,
          0.08815716207027435,
          0.08810582011938095,
          0.08825536072254181,
          0.08824320137500763,
          0.0881558209657669,
          0.08788269758224487,
          0.08780047297477722,
          0.08793763071298599,
          0.08756815642118454,
          0.08788011223077774,
          0.08831799030303955,
          0.08845420926809311,
          0.08872251212596893,
          0.08922560513019562,
          0.08845461159944534,
          0.08841986209154129,
          0.08859901130199432,
          0.08938920497894287,
          0.08915753662586212,
          0.08888998627662659,
          0.08938857167959213,
          0.08920611441135406,
          0.08938280493021011,
          0.08958093822002411,
          0.08986559510231018,
          0.08998549729585648,
          0.08956435322761536,
          0.08937375247478485,
          0.08967569470405579,
          0.08984596282243729,
          0.08976563066244125,
          0.08971254527568817,
          0.08982457965612411,
          0.09003427624702454,
          0.08992958068847656,
          0.0899098590016365,
          0.09009270370006561,
          0.09035994112491608,
          0.09015855938196182,
          0.08970712870359421,
          0.0893496721982956,
          0.08941440284252167,
          0.09005864709615707,
          0.09003273397684097,
          0.09029816091060638,
          0.09009279310703278,
          0.09008894860744476,
          0.09019828587770462,
          0.09011466056108475,
          0.09023865312337875,
          0.09027660638093948,
          0.09026159346103668,
          0.09005982428789139,
          0.09003797918558121,
          0.09003420919179916,
          0.09010308235883713,
          0.08957219123840332,
          0.08955361694097519,
          0.08958776295185089,
          0.08998657763004303,
          0.09005524963140488,
          0.09007636457681656,
          0.09006865322589874,
          0.09005951136350632,
          0.09090691804885864,
          0.09059083461761475,
          0.09006579220294952,
          0.08997922390699387,
          0.08947675675153732,
          0.08916531503200531,
          0.08924465626478195,
          0.08879560977220535,
          0.08892019093036652,
          0.08899176865816116,
          0.08885478973388672,
          0.08869538456201553,
          0.08892721682786942,
          0.08917558193206787,
          0.08936247229576111,
          0.08933790773153305,
          0.08920465409755707,
          0.08918159455060959,
          0.08894044905900955,
          0.08790861815214157,
          0.08758015185594559,
          0.08800536394119263,
          0.08933398872613907,
          0.09002827852964401,
          0.08976428210735321,
          0.08954507112503052,
          0.08951374143362045,
          0.08962488919496536,
          0.08972429484128952,
          0.08953160792589188,
          0.08959085494279861,
          0.08987661451101303,
          0.09027749300003052,
          0.090451180934906,
          0.09048003703355789,
          0.09003365784883499,
          0.09004417061805725,
          0.08998805284500122,
          0.0903441309928894,
          0.09057307988405228,
          0.09021998196840286,
          0.09021862596273422,
          0.09069470316171646,
          0.09069282561540604,
          0.09052211046218872,
          0.0903153195977211,
          0.09013765305280685,
          0.08985874056816101,
          0.08976200968027115,
          0.08955159783363342,
          0.08970289677381516,
          0.08973397314548492,
          0.08973941206932068,
          0.08994069695472717,
          0.08961047232151031,
          0.08926233649253845,
          0.08903772383928299,
          0.08869139105081558,
          0.08885523676872253,
          0.08898021280765533,
          0.08889277279376984,
          0.0888441875576973,
          0.08892602473497391,
          0.08931607753038406,
          0.08919855207204819,
          0.0893208310008049,
          0.08920920640230179,
          0.08906307071447372,
          0.08901694416999817,
          0.08850453794002533,
          0.0886075422167778,
          0.0886465311050415,
          0.0884995386004448,
          0.08853138238191605,
          0.0887422263622284,
          0.08869849145412445,
          0.08865182101726532,
          0.08850830793380737,
          0.08873001486063004,
          0.0884922593832016,
          0.08875244110822678,
          0.08886606246232986,
          0.08903152495622635,
          0.08895545452833176,
          0.08876710385084152,
          0.08879072219133377,
          0.08861028403043747,
          0.08860376477241516,
          0.0884874239563942,
          0.08865102380514145,
          0.08851006627082825,
          0.0886913537979126,
          0.08853699266910553,
          0.08739825338125229,
          0.08693680167198181,
          0.08683913201093674,
          0.08648543059825897,
          0.08672583103179932,
          0.08700013160705566,
          0.08712136000394821,
          0.08626747876405716,
          0.08605386316776276,
          0.08540596812963486,
          0.08511556684970856,
          0.08515074104070663,
          0.08508025109767914,
          0.08457845449447632,
          0.0850793868303299,
          0.08517685532569885,
          0.0853758454322815,
          0.08504219353199005,
          0.08513116091489792,
          0.08527819812297821,
          0.08530471473932266,
          0.08514484763145447,
          0.08533547818660736,
          0.08536061644554138,
          0.08539079874753952,
          0.0856880396604538,
          0.08550404012203217,
          0.08578743040561676,
          0.08579647541046143,
          0.08561388403177261,
          0.08530979603528976,
          0.08513150364160538,
          0.08542025834321976,
          0.08542540669441223,
          0.08564630895853043,
          0.08556266874074936,
          0.08529798686504364,
          0.08535733819007874,
          0.0854276791214943,
          0.08504176884889603,
          0.08502115309238434,
          0.08518989384174347,
          0.08434081077575684,
          0.08393210917711258,
          0.08368413150310516,
          0.08377306908369064,
          0.08406633138656616,
          0.08424125611782074,
          0.08408483117818832,
          0.08441732823848724,
          0.0843764990568161,
          0.08391249924898148,
          0.08287762850522995,
          0.08229362219572067,
          0.08228107541799545,
          0.08242916315793991,
          0.08329413086175919,
          0.08388666808605194,
          0.08390755951404572,
          0.08421123027801514,
          0.08447644114494324,
          0.08477482944726944,
          0.08454397320747375,
          0.08439687639474869,
          0.08425208181142807,
          0.08423325419425964,
          0.08411824703216553,
          0.084040068089962,
          0.0840289518237114,
          0.08470848947763443,
          0.08483392000198364,
          0.08502800762653351,
          0.08525159955024719,
          0.08516579866409302,
          0.08494428545236588,
          0.08462375402450562,
          0.08458670228719711,
          0.08452016860246658,
          0.08458776772022247,
          0.08437426388263702,
          0.08392322063446045,
          0.08396761119365692,
          0.08375537395477295,
          0.08328619599342346,
          0.083345927298069,
          0.08342520147562027,
          0.08338920027017593,
          0.08356961607933044,
          0.0836842805147171,
          0.08351312577724457,
          0.08391255885362625,
          0.08443429321050644,
          0.08492453396320343,
          0.08490826934576035,
          0.0851045548915863,
          0.08472345024347305,
          0.08496930450201035,
          0.08555366098880768,
          0.0854664146900177,
          0.08586274832487106,
          0.08546660840511322,
          0.0858960822224617,
          0.08588533848524094,
          0.08560629934072495,
          0.08561115711927414,
          0.08599219471216202,
          0.08665232360363007,
          0.08705111593008041,
          0.08669029176235199,
          0.08666311204433441,
          0.08653208613395691,
          0.08642411977052689,
          0.08648745715618134,
          0.08649623394012451,
          0.08641503006219864,
          0.08647681772708893,
          0.08671236783266068,
          0.08690380305051804,
          0.0864877849817276,
          0.08614324033260345,
          0.08628780394792557,
          0.08620359003543854,
          0.08606430888175964,
          0.08607117831707001,
          0.08613569289445877,
          0.08615688234567642,
          0.08617334812879562,
          0.08627768605947495,
          0.08645205944776535,
          0.08640124648809433,
          0.08643338829278946,
          0.08638813346624374,
          0.0862758606672287,
          0.08599770069122314,
          0.08574386686086655,
          0.08560499548912048,
          0.08583424985408783,
          0.08634064346551895,
          0.08644318580627441,
          0.08684326708316803,
          0.08671531081199646,
          0.08674733340740204,
          0.08628971874713898,
          0.086481012403965,
          0.08654183894395828,
          0.08656303584575653,
          0.08695151656866074,
          0.08773879706859589,
          0.08735617995262146,
          0.08694371581077576,
          0.08683720231056213,
          0.0871206596493721,
          0.08694669604301453,
          0.08670694380998611,
          0.08675671368837357,
          0.08659928292036057,
          0.08654888719320297
         ],
         "yaxis": "y"
        },
        {
         "line": {
          "color": "green",
          "width": 1
         },
         "name": "Chandelier Long",
         "type": "scatter",
         "x": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278,
          279,
          280,
          281,
          282,
          283,
          284,
          285,
          286,
          287,
          288,
          289,
          290,
          291,
          292,
          293,
          294,
          295,
          296,
          297,
          298,
          299,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          309,
          310,
          311,
          312,
          313,
          314,
          315,
          316,
          317,
          318,
          319,
          320,
          321,
          322,
          323,
          324,
          325,
          326,
          327,
          328,
          329,
          330,
          331,
          332,
          333,
          334,
          335,
          336,
          337,
          338,
          339,
          340,
          341,
          342,
          343,
          344,
          345,
          346,
          347,
          348,
          349,
          350,
          351,
          352,
          353,
          354,
          355,
          356,
          357,
          358,
          359,
          360,
          361,
          362,
          363,
          364,
          365,
          366,
          367,
          368,
          369,
          370,
          371,
          372,
          373,
          374,
          375,
          376,
          377,
          378,
          379,
          380,
          381,
          382,
          383,
          384,
          385,
          386,
          387,
          388,
          389,
          390,
          391,
          392,
          393,
          394,
          395,
          396,
          397,
          398,
          399
         ],
         "xaxis": "x",
         "y": [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.09199021045457233,
          0.09115441651506857,
          0.09027980132536455,
          0.09029011970216577,
          0.09024783325466243,
          0.08979251167990944,
          0.08946213430979034,
          0.08944290029731664,
          0.08943242241035808,
          0.08913237059658224,
          0.08912435343319719,
          0.08919755335558545,
          0.08921067078005183,
          0.08918353068557652,
          0.08915877816351978,
          0.08919892697171732,
          0.08922244100408121,
          0.089217005466873,
          0.08918357335708359,
          0.08918404172767293,
          0.08919091793623837,
          0.08916878971186551,
          0.08913106369701299,
          0.08915685523640025,
          0.08885492790829051,
          0.08776009523055771,
          0.08738647706129334,
          0.0873695896430449,
          0.08737866445021196,
          0.08735488930886443,
          0.08731726827946576,
          0.08729250051758507,
          0.0872338901866566,
          0.08717338198965247,
          0.08715851300142029,
          0.08718056705864993,
          0.0872013501145623,
          0.08719450032169168,
          0.08721769838170572,
          0.08721074191006747,
          0.08718629621646622,
          0.08715945380655202,
          0.08718588372523134,
          0.08717788891358809,
          0.08717527680776337,
          0.08715651455250653,
          0.08713259717280214,
          0.08718974956057289,
          0.08725378425283865,
          0.08729352463375438,
          0.08730921657247977,
          0.08698304437778213,
          0.08701637793671001,
          0.08698988942937418,
          0.08690571107647636,
          0.08696852658282626,
          0.08695010468363762,
          0.0869588472626426,
          0.08698562261733142,
          0.0870171334933151,
          0.08700367672876878,
          0.08731912144205788,
          0.08738378401507031,
          0.08740775727412918,
          0.08741206608035347,
          0.08755776049061255,
          0.08782361481677402,
          0.08785791864449327,
          0.08786290003494783,
          0.08786591345613654,
          0.08785679699345068,
          0.0878441601314328,
          0.08782118863680145,
          0.08778056434609673,
          0.08776960081674835,
          0.08787374537099492,
          0.08835666728290645,
          0.08826296268538995,
          0.08829668638381091,
          0.08829772065986287,
          0.08835690299218352,
          0.08840495618906888,
          0.08840851417996666,
          0.0884062647819519,
          0.08839858594265851,
          0.08841686560349031,
          0.08848405087536032,
          0.08888947692784396,
          0.08891227570447055,
          0.08888322656804865,
          0.08891036463054744,
          0.08887646821412173,
          0.08887317031621933,
          0.088903797282414,
          0.0889397795227441,
          0.08898311345414682,
          0.08901764994317835,
          0.08906550028107384,
          0.08911500329321081,
          0.0892333672805266,
          0.08948032693429427,
          0.08949215439232913,
          0.0895406962795691,
          0.08956203508106145,
          0.08957485177300194,
          0.08957656574520198,
          0.0895912427116524,
          0.08957491882822731,
          0.08957071873274716,
          0.08960589529438452,
          0.08961176770654591,
          0.08965239402922717,
          0.08966016532345251,
          0.08976679532365366,
          0.08977424048564651,
          0.08977384933016518,
          0.08977905119007284,
          0.08979455415498126,
          0.08979962495240298,
          0.08973874998363582,
          0.08974340828982266,
          0.08973356234756383,
          0.08971807665445587,
          0.08971585367213596,
          0.08976317434148355,
          0.08978010578589006,
          0.08978035470301454,
          0.09019547125155275,
          0.09034720469604839,
          0.09031753580678593,
          0.0903374816883694,
          0.09029401567849246,
          0.09026696194301952,
          0.09025562452999028,
          0.09021261063489047,
          0.0901767523451285,
          0.09017430381341414,
          0.09016489373012022,
          0.09014320847663013,
          0.0901176929473877,
          0.090106473388997,
          0.09014885127544403,
          0.09015536172823473,
          0.09016909788955342,
          0.0902089195495302,
          0.09019349583170631,
          0.09005335041067818,
          0.09002814069390297,
          0.08999323844909668,
          0.08992649513212117,
          0.08990004387768832,
          0.08993602814999493,
          0.08919228579510342,
          0.0889100967483087,
          0.08890038220719858,
          0.08890884538943117,
          0.0889333500103517,
          0.08898539502512325,
          0.08896571838042953,
          0.08918822048739954,
          0.08938045731999657,
          0.08940905738960613,
          0.08938257667151364,
          0.08940469270402734,
          0.0893960486758839,
          0.08936901018023491,
          0.08945741470564496,
          0.08945506878874519,
          0.08958712084726854,
          0.08971138840371912,
          0.08976955271580002,
          0.08997953378341415,
          0.0900471681220965,
          0.09005756574598225,
          0.09007442505522208,
          0.09007726779038255,
          0.09006993540308693,
          0.09006204930218784,
          0.09007824415510352,
          0.0900766399096359,
          0.09008929505944252,
          0.09009481187571179,
          0.09006221490827473,
          0.09004964916543527,
          0.09006331319158728,
          0.09005661579695615,
          0.09004370055415413,
          0.0900776752016761,
          0.09009589390321211,
          0.09012241729281166,
          0.09008974615823138,
          0.09013100442561237,
          0.0901235816153613,
          0.0901327407495542,
          0.09013513644987886,
          0.08984617245468227,
          0.08962020007046786,
          0.08944492075930942,
          0.08929974856701764,
          0.08930219100280241,
          0.08929649638858708,
          0.08928212015466257,
          0.0892880850217559,
          0.08931411667303606,
          0.08935786614363844,
          0.08898487348448146,
          0.08880179172212427,
          0.088788875463334,
          0.08879717100750316,
          0.08878347142176195,
          0.08877568996765396,
          0.08876784247430888,
          0.08880959755995056,
          0.08880583332343535,
          0.08881751718846234,
          0.08881936831907793,
          0.0888202115893364,
          0.08857998285781253,
          0.08849953216585246,
          0.08849188888614828,
          0.0883531892164187,
          0.08830079266970808,
          0.08830889822407202,
          0.08825462006709793,
          0.08821946788917888,
          0.08818212422457608,
          0.08817376467314633,
          0.0880887894467874,
          0.08809909359975295,
          0.08804706585678188,
          0.08799911629069936,
          0.0879979438402436,
          0.08799450268799608,
          0.08787298575043678,
          0.08778579770164056,
          0.08763252130963585,
          0.0875717696141113,
          0.08746987208724022,
          0.0874745740809224,
          0.08746698972853748,
          0.0874822082167322,
          0.08748299052769487,
          0.08761227808215401,
          0.08737008409066634,
          0.08629948645830154,
          0.08614961802959442,
          0.08618166331540454,
          0.08619951422918927,
          0.08621814237399535,
          0.08630886199799451,
          0.0861434858631004,
          0.0852700996805321,
          0.08511641587723386,
          0.0850592739880085,
          0.08505527302622795,
          0.0851097818125378,
          0.08517022397030484,
          0.08518801798874681,
          0.08517549898136746,
          0.08517769656398079,
          0.08519205857406963,
          0.0851928439329971,
          0.08509852059862831,
          0.08505395224148576,
          0.0850405056368221,
          0.08497838201847943,
          0.08495876430110498,
          0.08497909625822847,
          0.08498285643079063,
          0.08498012545433911,
          0.08497314358299429,
          0.084935589608821,
          0.08473192832686684,
          0.08468701046976176,
          0.0846999389204112,
          0.08467425880107013,
          0.08458643169565634,
          0.08450828899036754,
          0.08450865068218925,
          0.08448935706507076,
          0.08450721102682027,
          0.08451556651429697,
          0.08408211679621176,
          0.08399766717444766,
          0.08409261940555139,
          0.08409665931354869,
          0.08375052735209465,
          0.08381655541333285,
          0.08384905687787315,
          0.0837919603694569,
          0.0837868174368685,
          0.08401715890927748,
          0.08414114368232814,
          0.0842565806074576,
          0.08436487886038693,
          0.08439902520992539,
          0.08441669222983447,
          0.08441420407457785,
          0.08451018143783916,
          0.08457016944885254,
          0.08454829522154549,
          0.08457896181128242,
          0.08458637242967432,
          0.08456985246051442,
          0.08457887850024483,
          0.08457649499177933,
          0.08458806811408563,
          0.08452539789405736,
          0.08454338698224588,
          0.08452882075851614,
          0.08448349752209404,
          0.0845028053630482,
          0.0844504057683728,
          0.08444000001658093,
          0.0844599875536832,
          0.08442998440428214,
          0.08442769538272511,
          0.08464481952515515,
          0.08470619944008914,
          0.08508159525015137,
          0.0849731405350295,
          0.0849196385930885,
          0.08501461182128299,
          0.08498618345368993,
          0.08498222109946338,
          0.08499424024061723,
          0.085427156903527,
          0.08579046414657072,
          0.08575084771622311,
          0.08578359200195833,
          0.08579054542563179,
          0.08578998764807527,
          0.08581360429525375,
          0.08583206581798467,
          0.08589213409207085,
          0.08591675758361816,
          0.08588337525725365,
          0.08591170608997345,
          0.0858900858597322,
          0.08593906360593709,
          0.08595080030235377,
          0.08600994097915562,
          0.08611953563310883,
          0.08619546754793687,
          0.08624179458076303,
          0.08625868538563902,
          0.0862829207696698,
          0.08630822700533,
          0.08638199892911044,
          0.08643016998063434,
          0.08646144819530574,
          0.0863728282803839,
          0.08632465756752274,
          0.08626559579914267,
          0.08625827661969444,
          0.08629283850843256,
          0.08627603406255896,
          0.08621692488139326,
          0.08626048131422563,
          0.0862256379967386,
          0.08630848201838406,
          0.08633656393397938,
          0.08630199696529996,
          0.08629904856736009,
          0.08630612594160167,
          0.08627687259153886,
          0.08623452924869278,
          0.08694264326583255,
          0.08689116009257057,
          0.08685863932425325,
          0.08686189150268381,
          0.08684221688996661,
          0.08683474531227892,
          0.0868053791875189,
          0.0868173251775178,
          0.08682479370724071,
          0.08685068718411705
         ],
         "yaxis": "y"
        },
        {
         "line": {
          "color": "red",
          "width": 1
         },
         "name": "Chandelier Short",
         "type": "scatter",
         "x": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278,
          279,
          280,
          281,
          282,
          283,
          284,
          285,
          286,
          287,
          288,
          289,
          290,
          291,
          292,
          293,
          294,
          295,
          296,
          297,
          298,
          299,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          309,
          310,
          311,
          312,
          313,
          314,
          315,
          316,
          317,
          318,
          319,
          320,
          321,
          322,
          323,
          324,
          325,
          326,
          327,
          328,
          329,
          330,
          331,
          332,
          333,
          334,
          335,
          336,
          337,
          338,
          339,
          340,
          341,
          342,
          343,
          344,
          345,
          346,
          347,
          348,
          349,
          350,
          351,
          352,
          353,
          354,
          355,
          356,
          357,
          358,
          359,
          360,
          361,
          362,
          363,
          364,
          365,
          366,
          367,
          368,
          369,
          370,
          371,
          372,
          373,
          374,
          375,
          376,
          377,
          378,
          379,
          380,
          381,
          382,
          383,
          384,
          385,
          386,
          387,
          388,
          389,
          390,
          391,
          392,
          393,
          394,
          395,
          396,
          397,
          398,
          399
         ],
         "xaxis": "x",
         "y": [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.09062610532749783,
          0.08998599885539575,
          0.08903082595630125,
          0.08873026276176627,
          0.08877254920926961,
          0.08858061649582603,
          0.08852991156957367,
          0.08847379040989009,
          0.08848426829684865,
          0.08848435973579233,
          0.08849237689917738,
          0.08841917697678912,
          0.08840605955232274,
          0.08843319964679805,
          0.0884579521688548,
          0.08835798264904456,
          0.08833446861668066,
          0.08802820166403597,
          0.08806163377382538,
          0.08806116540323604,
          0.08805428919467059,
          0.08807641741904346,
          0.0880598436025056,
          0.08795194666494023,
          0.0878360081802715,
          0.08784969455816528,
          0.08785011314532974,
          0.08789608763022856,
          0.08788701282306151,
          0.08791078796440904,
          0.08794840899380771,
          0.0879731767556884,
          0.08803178708661687,
          0.088092295283621,
          0.08810716427185318,
          0.08808511021462354,
          0.08806432715871117,
          0.08801840448921378,
          0.08799520642919974,
          0.0877654877575961,
          0.08778993345119736,
          0.08781677586111156,
          0.08779034594243224,
          0.08779834075407549,
          0.08773093975403091,
          0.08774970200928775,
          0.08777361938899214,
          0.08771646700122139,
          0.08765243230895563,
          0.0876126919280399,
          0.08759699998931451,
          0.08757286823608658,
          0.0875395346771587,
          0.08749821545048193,
          0.08743365041234276,
          0.08737083490599286,
          0.0873892568051815,
          0.08738051422617653,
          0.0873537388714877,
          0.08732222799550403,
          0.08733568476005034,
          0.08732426098801872,
          0.08725959841500629,
          0.08723562515594742,
          0.08723131634972313,
          0.08720555393533273,
          0.08720923181284558,
          0.08717492798512633,
          0.08722858266396956,
          0.08763693814927881,
          0.08785659311847253,
          0.08786922998049042,
          0.08789220147512176,
          0.08793282576582649,
          0.08794378929517487,
          0.08795682747255672,
          0.08799397098747166,
          0.08808767558498816,
          0.0880539518865672,
          0.08805291761051524,
          0.08816670050675218,
          0.08841290053996173,
          0.08846053548834541,
          0.08857689052820206,
          0.08858456936749545,
          0.08856628970666365,
          0.08856081759387796,
          0.08858968588438901,
          0.08856688710776242,
          0.08859593624418433,
          0.08856879818168553,
          0.08860269459811124,
          0.08860599249601364,
          0.08857536552981897,
          0.08853938328948888,
          0.08849604935808615,
          0.08885265344923193,
          0.08926255933263084,
          0.08927116339856928,
          0.0891927494244142,
          0.08921645446257158,
          0.08920894834128293,
          0.08916040645404295,
          0.08940056813034145,
          0.08964747122742912,
          0.08964575725522908,
          0.08963108028877866,
          0.08995765379884026,
          0.09004819122227756,
          0.090092944489284,
          0.0900870720771226,
          0.09004644575444135,
          0.090038674460216,
          0.0900181880728765,
          0.09001074291088364,
          0.09001113406636498,
          0.0900059322064573,
          0.08999042924154889,
          0.08998535844412717,
          0.09004623341289433,
          0.09004157510670749,
          0.09005142104896632,
          0.09006690674207428,
          0.0900691297243942,
          0.0900218090550466,
          0.09000487761064009,
          0.09000462869351561,
          0.09002948383038695,
          0.09008451889861714,
          0.0901141877878796,
          0.09009424190629613,
          0.09013770791617307,
          0.08996775339950215,
          0.08992870998653499,
          0.089695121076974,
          0.08966642008586363,
          0.08966886861757799,
          0.0896782787008719,
          0.08962261202660474,
          0.08964812755584717,
          0.08965934711423787,
          0.08961696922779083,
          0.08961045877500014,
          0.08959672261368144,
          0.08955690095370467,
          0.08957232467152855,
          0.08886707506396553,
          0.08856796100735664,
          0.08860286325216293,
          0.08866960656913844,
          0.08869605782357129,
          0.08866007355126468,
          0.08870147202502597,
          0.088652065531774,
          0.08862513066692786,
          0.08861666748469527,
          0.08859216286377473,
          0.08854011784900319,
          0.0885597944936969,
          0.08857325227423148,
          0.08856900849125603,
          0.08855495940555226,
          0.08858144012364474,
          0.08855932409113104,
          0.08856796811927449,
          0.08859500661492348,
          0.08861356262456287,
          0.08861590854146263,
          0.08848385648293929,
          0.08849459344690497,
          0.08844599568031052,
          0.088394838639281,
          0.08899283917112784,
          0.09006539833816615,
          0.09008400379256769,
          0.09008116105740721,
          0.0901316770098426,
          0.09021643075076016,
          0.09020023589784448,
          0.0902018401433121,
          0.09018918499350548,
          0.09022127870808948,
          0.08986383778127757,
          0.08978265286846594,
          0.08942232822830026,
          0.0894290256229314,
          0.08944194086573341,
          0.08940796621821144,
          0.08938974751667543,
          0.08936322412707588,
          0.08939589526165616,
          0.08935463699427518,
          0.08936205980452624,
          0.08935290067033334,
          0.08935050497000868,
          0.08933272111144933,
          0.08918015184727582,
          0.08915773000229489,
          0.08914562043818561,
          0.08914196355776353,
          0.08901343596252528,
          0.0890278121964498,
          0.08902184732935646,
          0.08899581567807631,
          0.08895206620747392,
          0.08895261179317128,
          0.08895386958664114,
          0.08896678584543141,
          0.08895849030126225,
          0.08897218988700346,
          0.08897997134111145,
          0.08898781883445653,
          0.08894606374881485,
          0.08894982798533006,
          0.08893814412030307,
          0.08893629298968748,
          0.08893544971942902,
          0.0889532935212959,
          0.08892259645191106,
          0.08893023973161523,
          0.08812815458937125,
          0.08761473169380968,
          0.08760662613944574,
          0.0873139009556987,
          0.08730724792588841,
          0.08734459159049121,
          0.08735295114192096,
          0.08726177974180742,
          0.08696903897957368,
          0.08644199269739064,
          0.08610080588947643,
          0.08607280186631462,
          0.08607624301856215,
          0.08570349588990211,
          0.08579068393869833,
          0.08580814369700172,
          0.08584538881074298,
          0.08587696775794029,
          0.08587226576425812,
          0.08587985011664304,
          0.08586463162844832,
          0.08586384931748564,
          0.0857345617630265,
          0.08567595346407457,
          0.08567985892295837,
          0.08565055578947067,
          0.08561851050366055,
          0.08560065958987582,
          0.08558203144506975,
          0.08549131182107059,
          0.08549614284526218,
          0.08544251288880002,
          0.08541192148219455,
          0.08538739755749702,
          0.08539139851927757,
          0.08533688973296773,
          0.08527644757520068,
          0.08563333580439741,
          0.0857123735953461,
          0.0857088945128701,
          0.08567501943219792,
          0.08567423407327045,
          0.08511050722815773,
          0.08473618904298003,
          0.08451184291731227,
          0.08406866815957156,
          0.08408828587694601,
          0.08406795391982252,
          0.08406419374726036,
          0.08406692472371188,
          0.0840739065950567,
          0.08411146056923,
          0.08390802957794884,
          0.08336894112554463,
          0.08314933356913654,
          0.0831750136884776,
          0.08326284079389139,
          0.08334098349918019,
          0.08334062180735848,
          0.08335991542447697,
          0.08334206146272746,
          0.08333370597525076,
          0.0833708444102244,
          0.08335901017893445,
          0.08326405794783072,
          0.08319849114526402,
          0.08320185914635658,
          0.08313583108511838,
          0.08310332962057808,
          0.08316042612899434,
          0.08316556906158273,
          0.08315473659472032,
          0.08319739895788106,
          0.08315859125419096,
          0.08305029300126163,
          0.08301614665172317,
          0.08299847963181409,
          0.08300096778707071,
          0.08301310579885136,
          0.08322791755199432,
          0.08434420756318352,
          0.0844786681912162,
          0.08449723029678519,
          0.0840445723045956,
          0.08401125737211922,
          0.08401364088058472,
          0.08400206775827841,
          0.08384119820865718,
          0.08382320912046866,
          0.0838377753441984,
          0.0838830985806205,
          0.08386379073966634,
          0.08391619033434174,
          0.0839265960861336,
          0.08390660854903134,
          0.0839366116984324,
          0.08393890071998943,
          0.08399322358044711,
          0.08402227881279858,
          0.08407702737233856,
          0.08418548208746043,
          0.08423898402940143,
          0.08423656191338193,
          0.08426499028097499,
          0.08426895263520154,
          0.08425693349404768,
          0.08431877263567665,
          0.08436613394455476,
          0.08440575037490237,
          0.08437300608916716,
          0.0843660526654937,
          0.08479567447846587,
          0.08477205783128738,
          0.08480509472164241,
          0.085122443058274,
          0.08554760366678238,
          0.0859515555202961,
          0.0859232246875763,
          0.08594484491781755,
          0.0859219144013795,
          0.08603513884273442,
          0.08601456982168285,
          0.08590497516772964,
          0.0858290432529016,
          0.0862148871476,
          0.08628552576357668,
          0.0862612903795459,
          0.0862359841438857,
          0.08636011454192075,
          0.08661860938776623,
          0.08658733117309483,
          0.08655549010092561,
          0.08656012707135895,
          0.08656875585967844,
          0.08638939329169014,
          0.08621596003120596,
          0.08620088344270532,
          0.08625999262387102,
          0.08621643619103865,
          0.08625127950852568,
          0.08622843501242725,
          0.08620035309683192,
          0.08623492006551135,
          0.08623786846345122,
          0.08623079108920964,
          0.08626004443927245,
          0.08630238778211853,
          0.08638026531447064,
          0.08643174848773262,
          0.08646426925604994,
          0.08646101707761938,
          0.08648069169033658,
          0.08648816326802428,
          0.08651752939278429,
          0.08650558340278539,
          0.08649811487306248,
          0.08647222139618614
         ],
         "yaxis": "y"
        },
        {
         "line": {
          "color": "blue",
          "width": 1
         },
         "name": "ATR",
         "type": "scatter",
         "x": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278,
          279,
          280,
          281,
          282,
          283,
          284,
          285,
          286,
          287,
          288,
          289,
          290,
          291,
          292,
          293,
          294,
          295,
          296,
          297,
          298,
          299,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          309,
          310,
          311,
          312,
          313,
          314,
          315,
          316,
          317,
          318,
          319,
          320,
          321,
          322,
          323,
          324,
          325,
          326,
          327,
          328,
          329,
          330,
          331,
          332,
          333,
          334,
          335,
          336,
          337,
          338,
          339,
          340,
          341,
          342,
          343,
          344,
          345,
          346,
          347,
          348,
          349,
          350,
          351,
          352,
          353,
          354,
          355,
          356,
          357,
          358,
          359,
          360,
          361,
          362,
          363,
          364,
          365,
          366,
          367,
          368,
          369,
          370,
          371,
          372,
          373,
          374,
          375,
          376,
          377,
          378,
          379,
          380,
          381,
          382,
          383,
          384,
          385,
          386,
          387,
          388,
          389,
          390,
          391,
          392,
          393,
          394,
          395,
          396,
          397,
          398,
          399
         ],
         "xaxis": "x2",
         "y": [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.00039798859506845474,
          0.0004144612078865369,
          0.00041936617344617844,
          0.00042687542736530304,
          0.0004413456966479619,
          0.0004317645604411761,
          0.0004390086978673935,
          0.0004320094982783,
          0.00043563110133012134,
          0.00042295797417561215,
          0.0004295622929930687,
          0.0004215352237224579,
          0.00041654550780852634,
          0.0004113679751753807,
          0.0004240395501255989,
          0.00042311691989501316,
          0.0004244375353058179,
          0.0004209162046511968,
          0.0004183286800980568,
          0.0004121611515680949,
          0.0004225665082534154,
          0.00042434533437093097,
          0.00041557444880406064,
          0.00042074484129746753,
          0.0004127994179725647,
          0.00039020925760269165,
          0.00036802981048822403,
          0.00037564927091201145,
          0.00036719969163338345,
          0.00036905364443858463,
          0.00037147073696057004,
          0.0003835136691729228,
          0.0004048251236478488,
          0.000415258730451266,
          0.00041236262768507004,
          0.0004228129982948303,
          0.0004331422969698906,
          0.0004260198523600896,
          0.00041268890102704364,
          0.00042356085032224655,
          0.0004356276864806811,
          0.0004360011468331019,
          0.00042811532815297443,
          0.000432480126619339,
          0.0004266084482272466,
          0.00043075035015741986,
          0.0004351772367954254,
          0.0004280923555294673,
          0.00042177240053812665,
          0.0004130670179923375,
          0.0003996947780251503,
          0.0003801273802916209,
          0.00037513207644224167,
          0.00036728506286938983,
          0.0003573729967077573,
          0.0003410450493295987,
          0.0003258691479762395,
          0.00031515955924987793,
          0.0003127641975879669,
          0.00030275216946999234,
          0.0002998833854993184,
          0.00030517174551884335,
          0.0003045688693722089,
          0.00029549157867829007,
          0.00027881966282924015,
          0.00026711076498031616,
          0.00027043869098027545,
          0.0002616560086607933,
          0.0002637626603245735,
          0.00025002410014470416,
          0.0002391816427310308,
          0.0002518007531762123,
          0.0002650137369831403,
          0.00027000221113363904,
          0.00027315163364013034,
          0.0002766620988647143,
          0.00028828469415505725,
          0.0003132140263915062,
          0.0003074618677298228,
          0.00031562987715005875,
          0.0003343249360720317,
          0.0003440321112672488,
          0.00034825752178827923,
          0.0003718590984741847,
          0.00036949074516693753,
          0.00035831859956185025,
          0.00035973265767097473,
          0.00036416978885730106,
          0.00036184800167878467,
          0.00036981329321861267,
          0.0003625039632121722,
          0.0003696043665210406,
          0.00036129169166088104,
          0.00036547333002090454,
          0.0003649061545729637,
          0.0003527924418449402,
          0.0003441888839006424,
          0.00033031807591517765,
          0.0003234647835294406,
          0.00032045040279626846,
          0.00031059204290310544,
          0.0002878345549106598,
          0.00030200183391571045,
          0.00030550484855969745,
          0.00027909471342960995,
          0.00028512471665938693,
          0.0002793588985999425,
          0.00026448971281449,
          0.00026484082142512005,
          0.00026411501069863635,
          0.00026167090982198715,
          0.000248401736219724,
          0.00024568413694699603,
          0.0002376486857732137,
          0.00023535328606764475,
          0.0002292972058057785,
          0.00022613288213809332,
          0.0002186403920253118,
          0.00021948199719190598,
          0.00023745279759168625,
          0.00023391004651784897,
          0.00023887244363625845,
          0.00024887174367904663,
          0.0002507533257206281,
          0.00024321830521027246,
          0.00024384136001269022,
          0.00023218741019566855,
          0.00025233222792545956,
          0.00026682081321875256,
          0.00026154083510239917,
          0.0002602819974223773,
          0.0002678496142228444,
          0.0002723885700106621,
          0.00027333199977874756,
          0.00028555188328027725,
          0.00030088673035303753,
          0.00030171405524015427,
          0.00030479300767183304,
          0.0003105296442906062,
          0.00031071404616038006,
          0.0003165733069181442,
          0.00032633232573668164,
          0.0003223496799667676,
          0.0003045142317811648,
          0.00030376917372147244,
          0.0003073550760746002,
          0.00033791052798430127,
          0.0003455573072036107,
          0.0003590270256002744,
          0.0004047391315301259,
          0.0004273861025770505,
          0.0004035163049896558,
          0.0003985688090324402,
          0.0003819745033979416,
          0.00038437793652216595,
          0.0003694541131456693,
          0.0003659200544158618,
          0.00036188804854949314,
          0.0003555845469236374,
          0.0003518188993136088,
          0.0003555106619993846,
          0.0003485269844532013,
          0.00035585152606169385,
          0.00035105645656585693,
          0.0003462868432203929,
          0.0003496619562307994,
          0.0003565760950247447,
          0.0003650759657224019,
          0.0003674499069650968,
          0.00037366462250550586,
          0.00032946281135082245,
          0.00032321053246657055,
          0.00031452688078085583,
          0.00026708624015251797,
          0.0002489049608508746,
          0.0002424372360110283,
          0.00023443158715963364,
          0.00023701383421818414,
          0.00023676144580046335,
          0.00023580559839804968,
          0.00023312276850144067,
          0.00024357407043377557,
          0.00025121370951334637,
          0.00024395746489365896,
          0.00024840359886487323,
          0.0002499477316935857,
          0.00024103311200936636,
          0.00024078475932280222,
          0.00023949084182580313,
          0.00023162458091974258,
          0.00023831147700548172,
          0.00023120269179344177,
          0.00022961820165316263,
          0.00021728655944267908,
          0.000222720205783844,
          0.00021410702417294183,
          0.00022632069885730743,
          0.00022536485145489374,
          0.00021881051361560822,
          0.00022151507437229156,
          0.00022076225529114404,
          0.00022178950409094492,
          0.0002222325031956037,
          0.00022423950334390005,
          0.0002223780999581019,
          0.0002169742559393247,
          0.00021184453119834265,
          0.0002134957661231359,
          0.00020622151593367258,
          0.00020811272164185843,
          0.00020525014648834863,
          0.00021016287306944528,
          0.0002096580962340037,
          0.00021180386344591776,
          0.00019666645675897598,
          0.00019637588411569595,
          0.0001992837836345037,
          0.00019892149915297827,
          0.00020248753329118094,
          0.00020930108924706778,
          0.0002353982999920845,
          0.00025177809099356335,
          0.00025224871933460236,
          0.00027060726036628086,
          0.00028005118171374005,
          0.0002890760079026222,
          0.00029159151017665863,
          0.00032010643432537716,
          0.00032519611219565075,
          0.0003425780062874158,
          0.00034957068661848706,
          0.0003478735064466794,
          0.00034859714408715564,
          0.0003604625041286151,
          0.0003842208534479141,
          0.0003893037016193072,
          0.000398305244743824,
          0.00040651361147562665,
          0.00041155486057202023,
          0.0004140756403406461,
          0.000413249246776104,
          0.0004143714904785156,
          0.00041034383078416187,
          0.0004064800838629405,
          0.0003657635922233264,
          0.00035915834208329517,
          0.00036128734548886615,
          0.00034827273339033127,
          0.00033435535927613574,
          0.00032373983412981033,
          0.0003277513508995374,
          0.0003027816613515218,
          0.0003035754586259524,
          0.00027848749111096066,
          0.0002657823885480563,
          0.00026063403735558194,
          0.000264872486392657,
          0.00025337965538104373,
          0.00023956565807263056,
          0.00024176761507987976,
          0.00023104002078374228,
          0.0002236717070142428,
          0.00025310305257638294,
          0.0002655259643991788,
          0.00027025708307822544,
          0.0002856145923336347,
          0.00029039693375428516,
          0.0002954872325062752,
          0.00029527395963668823,
          0.00029204754779736203,
          0.0002900551383694013,
          0.00029636888454357785,
          0.00033594761043787,
          0.00035242270678281784,
          0.00034778999785582226,
          0.00034693566461404163,
          0.00037041399627923965,
          0.0003966360042492549,
          0.00039954142024119693,
          0.00041059932361046475,
          0.00040979838619629544,
          0.00041488433877627057,
          0.00041167934735616046,
          0.0004013665020465851,
          0.00040617305785417557,
          0.00039880163967609406,
          0.000375740850965182,
          0.00035730501015981037,
          0.0003480476637681325,
          0.0003516019011537234,
          0.00034696577737728756,
          0.00034664198756217957,
          0.000358834241827329,
          0.00035245561351378757,
          0.00035680985699097317,
          0.00035137652109066647,
          0.00031147028009096783,
          0.00029765131572882336,
          0.0002957535907626152,
          0.00029579922556877136,
          0.0002785523732503255,
          0.00025636299202839535,
          0.0002534082159399986,
          0.00025764666497707367,
          0.00025713909417390823,
          0.00025010760873556137,
          0.0002400300775965055,
          0.0002554239084323247,
          0.0002558796356121699,
          0.00026192888617515564,
          0.00026549119502305984,
          0.000283321055273215,
          0.0003046269218126933,
          0.00029003651191790897,
          0.0002945500115553538,
          0.00030064893265565235,
          0.0002926668773094813,
          0.00031569010267655057,
          0.00031775298217932385,
          0.000331096351146698,
          0.0003677358229955037,
          0.00038336900373299915,
          0.000394708476960659,
          0.00039953521142403287,
          0.00039110736300547916,
          0.0004010436435540517,
          0.00042169572164614994,
          0.0004240879788994789,
          0.00042887342472871143,
          0.0004335337628920873,
          0.0004354010646541913,
          0.00042247151335080463,
          0.0004243142902851105,
          0.0004320523391167323,
          0.00042115524411201477,
          0.0004049406076471011,
          0.00040364327530066174,
          0.00039790601780017215,
          0.000402637446920077,
          0.00040152762085199356,
          0.0003993048643072446,
          0.000377978819111983,
          0.00037225304792324704,
          0.000347956083714962,
          0.00031200113395849865,
          0.00029531897356112796,
          0.0002802259599169095,
          0.0002737433339158694,
          0.00027064327150583267,
          0.00026198911170164746,
          0.0002383220319946607,
          0.00021878164261579514,
          0.00020996077607075372,
          0.00020967299739519754,
          0.00021587684750556946,
          0.00021288388719161352,
          0.00021433768173058829,
          0.00022182520478963852,
          0.00022557315727074942,
          0.00023800631364186606,
          0.00022555732478698096,
          0.00022452355672915777,
          0.00022625674804051718,
          0.00022079702466726303,
          0.00021649493525425592,
          0.0002192072570323944,
          0.00022967780629793802,
          0.00025999297698338825,
          0.00027478641519943875,
          0.0002834017698963483,
          0.00028671324253082275,
          0.00029180323084195453,
          0.0002929605543613434,
          0.000297112079958121,
          0.00029419828206300735,
          0.0003013576691349347,
          0.0002982327714562416
         ],
         "yaxis": "y2"
        },
        {
         "marker": {
          "color": "green",
          "size": 9,
          "symbol": "arrow-up"
         },
         "mode": "markers",
         "name": "Enter Long",
         "type": "scatter",
         "x": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278,
          279,
          280,
          281,
          282,
          283,
          284,
          285,
          286,
          287,
          288,
          289,
          290,
          291,
          292,
          293,
          294,
          295,
          296,
          297,
          298,
          299,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          309,
          310,
          311,
          312,
          313,
          314,
          315,
          316,
          317,
          318,
          319,
          320,
          321,
          322,
          323,
          324,
          325,
          326,
          327,
          328,
          329,
          330,
          331,
          332,
          333,
          334,
          335,
          336,
          337,
          338,
          339,
          340,
          341,
          342,
          343,
          344,
          345,
          346,
          347,
          348,
          349,
          350,
          351,
          352,
          353,
          354,
          355,
          356,
          357,
          358,
          359,
          360,
          361,
          362,
          363,
          364,
          365,
          366,
          367,
          368,
          369,
          370,
          371,
          372,
          373,
          374,
          375,
          376,
          377,
          378,
          379,
          380,
          381,
          382,
          383,
          384,
          385,
          386,
          387,
          388,
          389,
          390,
          391,
          392,
          393,
          394,
          395,
          396,
          397,
          398,
          399
         ],
         "y": [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08844961225986481,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.0877106785774231,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08831799030303955,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.09005864709615707,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.09007636457681656,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08933398872613907,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08903152495622635,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.0856880396604538,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08424125611782074,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08391255885362625,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08627768605947495,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08634064346551895,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null
         ]
        },
        {
         "marker": {
          "color": "red",
          "size": 9,
          "symbol": "arrow-down"
         },
         "mode": "markers",
         "name": "Exit Long",
         "type": "scatter",
         "x": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          260,
          261,
          262,
          263,
          264,
          265,
          266,
          267,
          268,
          269,
          270,
          271,
          272,
          273,
          274,
          275,
          276,
          277,
          278,
          279,
          280,
          281,
          282,
          283,
          284,
          285,
          286,
          287,
          288,
          289,
          290,
          291,
          292,
          293,
          294,
          295,
          296,
          297,
          298,
          299,
          300,
          301,
          302,
          303,
          304,
          305,
          306,
          307,
          308,
          309,
          310,
          311,
          312,
          313,
          314,
          315,
          316,
          317,
          318,
          319,
          320,
          321,
          322,
          323,
          324,
          325,
          326,
          327,
          328,
          329,
          330,
          331,
          332,
          333,
          334,
          335,
          336,
          337,
          338,
          339,
          340,
          341,
          342,
          343,
          344,
          345,
          346,
          347,
          348,
          349,
          350,
          351,
          352,
          353,
          354,
          355,
          356,
          357,
          358,
          359,
          360,
          361,
          362,
          363,
          364,
          365,
          366,
          367,
          368,
          369,
          370,
          371,
          372,
          373,
          374,
          375,
          376,
          377,
          378,
          379,
          380,
          381,
          382,
          383,
          384,
          385,
          386,
          387,
          388,
          389,
          390,
          391,
          392,
          393,
          394,
          395,
          396,
          397,
          398,
          399
         ],
         "y": [
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08710654079914093,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08780047297477722,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.0893496721982956,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08957219123840332,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.09006579220294952,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08976428210735321,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08876710385084152,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08504176884889603,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08437426388263702,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08606430888175964,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08640124648809433,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          0.08628971874713898,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null,
          null
         ]
        }
       ],
       "layout": {
        "annotations": [
         {
          "font": {
           "size": 16
          },
          "showarrow": false,
          "text": "close",
          "x": 0.5,
          "xanchor": "center",
          "xref": "paper",
          "y": 1,
          "yanchor": "bottom",
          "yref": "paper"
         },
         {
          "font": {
           "size": 16
          },
          "showarrow": false,
          "text": "ATR",
          "x": 0.5,
          "xanchor": "center",
          "xref": "paper",
          "y": 0.375,
          "yanchor": "bottom",
          "yref": "paper"
         }
        ],
        "autosize": false,
        "height": 800,
        "template": {
         "data": {
          "bar": [
           {
            "error_x": {
             "color": "#2a3f5f"
            },
            "error_y": {
             "color": "#2a3f5f"
            },
            "marker": {
             "line": {
              "color": "#E5ECF6",
              "width": 0.5
             },
             "pattern": {
              "fillmode": "overlay",
              "size": 10,
              "solidity": 0.2
             }
            },
            "type": "bar"
           }
          ],
          "barpolar": [
           {
            "marker": {
             "line": {
              "color": "#E5ECF6",
              "width": 0.5
             },
             "pattern": {
              "fillmode": "overlay",
              "size": 10,
              "solidity": 0.2
             }
            },
            "type": "barpolar"
           }
          ],
          "carpet": [
           {
            "aaxis": {
             "endlinecolor": "#2a3f5f",
             "gridcolor": "white",
             "linecolor": "white",
             "minorgridcolor": "white",
             "startlinecolor": "#2a3f5f"
            },
            "baxis": {
             "endlinecolor": "#2a3f5f",
             "gridcolor": "white",
             "linecolor": "white",
             "minorgridcolor": "white",
             "startlinecolor": "#2a3f5f"
            },
            "type": "carpet"
           }
          ],
          "choropleth": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "choropleth"
           }
          ],
          "contour": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "contour"
           }
          ],
          "contourcarpet": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "contourcarpet"
           }
          ],
          "heatmap": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "heatmap"
           }
          ],
          "heatmapgl": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "heatmapgl"
           }
          ],
          "histogram": [
           {
            "marker": {
             "pattern": {
              "fillmode": "overlay",
              "size": 10,
              "solidity": 0.2
             }
            },
            "type": "histogram"
           }
          ],
          "histogram2d": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "histogram2d"
           }
          ],
          "histogram2dcontour": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "histogram2dcontour"
           }
          ],
          "mesh3d": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "mesh3d"
           }
          ],
          "parcoords": [
           {
            "line": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "parcoords"
           }
          ],
          "pie": [
           {
            "automargin": true,
            "type": "pie"
           }
          ],
          "scatter": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatter"
           }
          ],
          "scatter3d": [
           {
            "line": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatter3d"
           }
          ],
          "scattercarpet": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattercarpet"
           }
          ],
          "scattergeo": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattergeo"
           }
          ],
          "scattergl": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattergl"
           }
          ],
          "scattermapbox": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattermapbox"
           }
          ],
          "scatterpolar": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterpolar"
           }
          ],
          "scatterpolargl": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterpolargl"
           }
          ],
          "scatterternary": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterternary"
           }
          ],
          "surface": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "surface"
           }
          ],
          "table": [
           {
            "cells": {
             "fill": {
              "color": "#EBF0F8"
             },
             "line": {
              "color": "white"
             }
            },
            "header": {
             "fill": {
              "color": "#C8D4E3"
             },
             "line": {
              "color": "white"
             }
            },
            "type": "table"
           }
          ]
         },
         "layout": {
          "annotationdefaults": {
           "arrowcolor": "#2a3f5f",
           "arrowhead": 0,
           "arrowwidth": 1
          },
          "autotypenumbers": "strict",
          "coloraxis": {
           "colorbar": {
            "outlinewidth": 0,
            "ticks": ""
           }
          },
          "colorscale": {
           "diverging": [
            [
             0,
             "#8e0152"
            ],
            [
             0.1,
             "#c51b7d"
            ],
            [
             0.2,
             "#de77ae"
            ],
            [
             0.3,
             "#f1b6da"
            ],
            [
             0.4,
             "#fde0ef"
            ],
            [
             0.5,
             "#f7f7f7"
            ],
            [
             0.6,
             "#e6f5d0"
            ],
            [
             0.7,
             "#b8e186"
            ],
            [
             0.8,
             "#7fbc41"
            ],
            [
             0.9,
             "#4d9221"
            ],
            [
             1,
             "#276419"
            ]
           ],
           "sequential": [
            [
             0,
             "#0d0887"
            ],
            [
             0.1111111111111111,
             "#46039f"
            ],
            [
             0.2222222222222222,
             "#7201a8"
            ],
            [
             0.3333333333333333,
             "#9c179e"
            ],
            [
             0.4444444444444444,
             "#bd3786"
            ],
            [
             0.5555555555555556,
             "#d8576b"
            ],
            [
             0.6666666666666666,
             "#ed7953"
            ],
            [
             0.7777777777777778,
             "#fb9f3a"
            ],
            [
             0.8888888888888888,
             "#fdca26"
            ],
            [
             1,
             "#f0f921"
            ]
           ],
           "sequentialminus": [
            [
             0,
             "#0d0887"
            ],
            [
             0.1111111111111111,
             "#46039f"
            ],
            [
             0.2222222222222222,
             "#7201a8"
            ],
            [
             0.3333333333333333,
             "#9c179e"
            ],
            [
             0.4444444444444444,
             "#bd3786"
            ],
            [
             0.5555555555555556,
             "#d8576b"
            ],
            [
             0.6666666666666666,
             "#ed7953"
            ],
            [
             0.7777777777777778,
             "#fb9f3a"
            ],
            [
             0.8888888888888888,
             "#fdca26"
            ],
            [
             1,
             "#f0f921"
            ]
           ]
          },
          "colorway": [
           "#636efa",
           "#EF553B",
           "#00cc96",
           "#ab63fa",
           "#FFA15A",
           "#19d3f3",
           "#FF6692",
           "#B6E880",
           "#FF97FF",
           "#FECB52"
          ],
          "font": {
           "color": "#2a3f5f"
          },
          "geo": {
           "bgcolor": "white",
           "lakecolor": "white",
           "landcolor": "#E5ECF6",
           "showlakes": true,
           "showland": true,
           "subunitcolor": "white"
          },
          "hoverlabel": {
           "align": "left"
          },
          "hovermode": "closest",
          "mapbox": {
           "style": "light"
          },
          "paper_bgcolor": "white",
          "plot_bgcolor": "#E5ECF6",
          "polar": {
           "angularaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "bgcolor": "#E5ECF6",
           "radialaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           }
          },
          "scene": {
           "xaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           },
           "yaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           },
           "zaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           }
          },
          "shapedefaults": {
           "line": {
            "color": "#2a3f5f"
           }
          },
          "ternary": {
           "aaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "baxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "bgcolor": "#E5ECF6",
           "caxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           }
          },
          "title": {
           "x": 0.05
          },
          "xaxis": {
           "automargin": true,
           "gridcolor": "white",
           "linecolor": "white",
           "ticks": "",
           "title": {
            "standoff": 15
           },
           "zerolinecolor": "white",
           "zerolinewidth": 2
          },
          "yaxis": {
           "automargin": true,
           "gridcolor": "white",
           "linecolor": "white",
           "ticks": "",
           "title": {
            "standoff": 15
           },
           "zerolinecolor": "white",
           "zerolinewidth": 2
          }
         }
        },
        "title": {
         "text": "DOGE-USD with Chandelier Exits",
         "x": 0.5
        },
        "width": 1000,
        "xaxis": {
         "anchor": "y",
         "domain": [
          0,
          1
         ]
        },
        "xaxis2": {
         "anchor": "y2",
         "domain": [
          0,
          1
         ]
        },
        "yaxis": {
         "anchor": "x",
         "domain": [
          0.625,
          1
         ]
        },
        "yaxis2": {
         "anchor": "x2",
         "domain": [
          0,
          0.375
         ]
        }
       }
      },
      "text/html": [
       "<div>                            <div id=\"d2322532-0f2d-4425-929e-4a80192e9597\" class=\"plotly-graph-div\" style=\"height:800px; width:1000px;\"></div>            <script type=\"text/javascript\">                require([\"plotly\"], function(Plotly) {                    window.PLOTLYENV=window.PLOTLYENV || {};                                    if (document.getElementById(\"d2322532-0f2d-4425-929e-4a80192e9597\")) {                    Plotly.newPlot(                        \"d2322532-0f2d-4425-929e-4a80192e9597\",                        [{\"line\":{\"color\":\"blue\",\"width\":1},\"name\":\"Close\",\"x\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],\"y\":[0.09235741198062897,0.0914560928940773,0.09128795564174652,0.09138757735490799,0.09104734659194946,0.09086687117815018,0.09056251496076584,0.09067747741937637,0.09015996754169464,0.09015320241451263,0.09034828841686249,0.09033171832561493,0.08973667770624161,0.08955994993448257,0.08986250311136246,0.09014479070901871,0.08964391052722931,0.09005267918109894,0.08975042402744293,0.0897703692317009,0.08994824439287186,0.0904541015625,0.09029930830001831,0.08991661667823792,0.08882871270179749,0.08773500472307205,0.08779507875442505,0.0875278115272522,0.08725076913833618,0.08758784830570221,0.08772825449705124,0.08775938302278519,0.08796557039022446,0.0882049947977066,0.08822526782751083,0.08816687762737274,0.08765359222888947,0.08718108385801315,0.08709868043661118,0.0872890055179596,0.08720991760492325,0.08768533170223236,0.08796963840723038,0.08844961225986481,0.08808933943510056,0.08811946958303452,0.0879824161529541,0.08806771785020828,0.0876961275935173,0.08782503008842468,0.08801713585853577,0.08798093348741531,0.08808250725269318,0.08763954788446426,0.08778246492147446,0.08710654079914093,0.08733247220516205,0.08722028881311417,0.08715934306383133,0.08690595626831055,0.08707655221223831,0.08689282089471817,0.08658953011035919,0.08721909672021866,0.08674290031194687,0.08667171001434326,0.0867665708065033,0.08647140860557556,0.08691801130771637,0.08732366561889648,0.08737878501415253,0.08745822310447693,0.0877106785774231,0.0877140462398529,0.08786558359861374,0.08777179569005966,0.08776930719614029,0.08751983940601349,0.08745913952589035,0.08711927384138107,0.08740506321191788,0.08736251294612885,0.08746536076068878,0.08775900304317474,0.08810268342494965,0.08793559670448303,0.08815716207027435,0.08810582011938095,0.08825536072254181,0.08824320137500763,0.0881558209657669,0.08788269758224487,0.08780047297477722,0.08793763071298599,0.08756815642118454,0.08788011223077774,0.08831799030303955,0.08845420926809311,0.08872251212596893,0.08922560513019562,0.08845461159944534,0.08841986209154129,0.08859901130199432,0.08938920497894287,0.08915753662586212,0.08888998627662659,0.08938857167959213,0.08920611441135406,0.08938280493021011,0.08958093822002411,0.08986559510231018,0.08998549729585648,0.08956435322761536,0.08937375247478485,0.08967569470405579,0.08984596282243729,0.08976563066244125,0.08971254527568817,0.08982457965612411,0.09003427624702454,0.08992958068847656,0.0899098590016365,0.09009270370006561,0.09035994112491608,0.09015855938196182,0.08970712870359421,0.0893496721982956,0.08941440284252167,0.09005864709615707,0.09003273397684097,0.09029816091060638,0.09009279310703278,0.09008894860744476,0.09019828587770462,0.09011466056108475,0.09023865312337875,0.09027660638093948,0.09026159346103668,0.09005982428789139,0.09003797918558121,0.09003420919179916,0.09010308235883713,0.08957219123840332,0.08955361694097519,0.08958776295185089,0.08998657763004303,0.09005524963140488,0.09007636457681656,0.09006865322589874,0.09005951136350632,0.09090691804885864,0.09059083461761475,0.09006579220294952,0.08997922390699387,0.08947675675153732,0.08916531503200531,0.08924465626478195,0.08879560977220535,0.08892019093036652,0.08899176865816116,0.08885478973388672,0.08869538456201553,0.08892721682786942,0.08917558193206787,0.08936247229576111,0.08933790773153305,0.08920465409755707,0.08918159455060959,0.08894044905900955,0.08790861815214157,0.08758015185594559,0.08800536394119263,0.08933398872613907,0.09002827852964401,0.08976428210735321,0.08954507112503052,0.08951374143362045,0.08962488919496536,0.08972429484128952,0.08953160792589188,0.08959085494279861,0.08987661451101303,0.09027749300003052,0.090451180934906,0.09048003703355789,0.09003365784883499,0.09004417061805725,0.08998805284500122,0.0903441309928894,0.09057307988405228,0.09021998196840286,0.09021862596273422,0.09069470316171646,0.09069282561540604,0.09052211046218872,0.0903153195977211,0.09013765305280685,0.08985874056816101,0.08976200968027115,0.08955159783363342,0.08970289677381516,0.08973397314548492,0.08973941206932068,0.08994069695472717,0.08961047232151031,0.08926233649253845,0.08903772383928299,0.08869139105081558,0.08885523676872253,0.08898021280765533,0.08889277279376984,0.0888441875576973,0.08892602473497391,0.08931607753038406,0.08919855207204819,0.0893208310008049,0.08920920640230179,0.08906307071447372,0.08901694416999817,0.08850453794002533,0.0886075422167778,0.0886465311050415,0.0884995386004448,0.08853138238191605,0.0887422263622284,0.08869849145412445,0.08865182101726532,0.08850830793380737,0.08873001486063004,0.0884922593832016,0.08875244110822678,0.08886606246232986,0.08903152495622635,0.08895545452833176,0.08876710385084152,0.08879072219133377,0.08861028403043747,0.08860376477241516,0.0884874239563942,0.08865102380514145,0.08851006627082825,0.0886913537979126,0.08853699266910553,0.08739825338125229,0.08693680167198181,0.08683913201093674,0.08648543059825897,0.08672583103179932,0.08700013160705566,0.08712136000394821,0.08626747876405716,0.08605386316776276,0.08540596812963486,0.08511556684970856,0.08515074104070663,0.08508025109767914,0.08457845449447632,0.0850793868303299,0.08517685532569885,0.0853758454322815,0.08504219353199005,0.08513116091489792,0.08527819812297821,0.08530471473932266,0.08514484763145447,0.08533547818660736,0.08536061644554138,0.08539079874753952,0.0856880396604538,0.08550404012203217,0.08578743040561676,0.08579647541046143,0.08561388403177261,0.08530979603528976,0.08513150364160538,0.08542025834321976,0.08542540669441223,0.08564630895853043,0.08556266874074936,0.08529798686504364,0.08535733819007874,0.0854276791214943,0.08504176884889603,0.08502115309238434,0.08518989384174347,0.08434081077575684,0.08393210917711258,0.08368413150310516,0.08377306908369064,0.08406633138656616,0.08424125611782074,0.08408483117818832,0.08441732823848724,0.0843764990568161,0.08391249924898148,0.08287762850522995,0.08229362219572067,0.08228107541799545,0.08242916315793991,0.08329413086175919,0.08388666808605194,0.08390755951404572,0.08421123027801514,0.08447644114494324,0.08477482944726944,0.08454397320747375,0.08439687639474869,0.08425208181142807,0.08423325419425964,0.08411824703216553,0.084040068089962,0.0840289518237114,0.08470848947763443,0.08483392000198364,0.08502800762653351,0.08525159955024719,0.08516579866409302,0.08494428545236588,0.08462375402450562,0.08458670228719711,0.08452016860246658,0.08458776772022247,0.08437426388263702,0.08392322063446045,0.08396761119365692,0.08375537395477295,0.08328619599342346,0.083345927298069,0.08342520147562027,0.08338920027017593,0.08356961607933044,0.0836842805147171,0.08351312577724457,0.08391255885362625,0.08443429321050644,0.08492453396320343,0.08490826934576035,0.0851045548915863,0.08472345024347305,0.08496930450201035,0.08555366098880768,0.0854664146900177,0.08586274832487106,0.08546660840511322,0.0858960822224617,0.08588533848524094,0.08560629934072495,0.08561115711927414,0.08599219471216202,0.08665232360363007,0.08705111593008041,0.08669029176235199,0.08666311204433441,0.08653208613395691,0.08642411977052689,0.08648745715618134,0.08649623394012451,0.08641503006219864,0.08647681772708893,0.08671236783266068,0.08690380305051804,0.0864877849817276,0.08614324033260345,0.08628780394792557,0.08620359003543854,0.08606430888175964,0.08607117831707001,0.08613569289445877,0.08615688234567642,0.08617334812879562,0.08627768605947495,0.08645205944776535,0.08640124648809433,0.08643338829278946,0.08638813346624374,0.0862758606672287,0.08599770069122314,0.08574386686086655,0.08560499548912048,0.08583424985408783,0.08634064346551895,0.08644318580627441,0.08684326708316803,0.08671531081199646,0.08674733340740204,0.08628971874713898,0.086481012403965,0.08654183894395828,0.08656303584575653,0.08695151656866074,0.08773879706859589,0.08735617995262146,0.08694371581077576,0.08683720231056213,0.0871206596493721,0.08694669604301453,0.08670694380998611,0.08675671368837357,0.08659928292036057,0.08654888719320297],\"type\":\"scatter\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"green\",\"width\":1},\"name\":\"Chandelier Long\",\"x\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],\"y\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.09199021045457233,0.09115441651506857,0.09027980132536455,0.09029011970216577,0.09024783325466243,0.08979251167990944,0.08946213430979034,0.08944290029731664,0.08943242241035808,0.08913237059658224,0.08912435343319719,0.08919755335558545,0.08921067078005183,0.08918353068557652,0.08915877816351978,0.08919892697171732,0.08922244100408121,0.089217005466873,0.08918357335708359,0.08918404172767293,0.08919091793623837,0.08916878971186551,0.08913106369701299,0.08915685523640025,0.08885492790829051,0.08776009523055771,0.08738647706129334,0.0873695896430449,0.08737866445021196,0.08735488930886443,0.08731726827946576,0.08729250051758507,0.0872338901866566,0.08717338198965247,0.08715851300142029,0.08718056705864993,0.0872013501145623,0.08719450032169168,0.08721769838170572,0.08721074191006747,0.08718629621646622,0.08715945380655202,0.08718588372523134,0.08717788891358809,0.08717527680776337,0.08715651455250653,0.08713259717280214,0.08718974956057289,0.08725378425283865,0.08729352463375438,0.08730921657247977,0.08698304437778213,0.08701637793671001,0.08698988942937418,0.08690571107647636,0.08696852658282626,0.08695010468363762,0.0869588472626426,0.08698562261733142,0.0870171334933151,0.08700367672876878,0.08731912144205788,0.08738378401507031,0.08740775727412918,0.08741206608035347,0.08755776049061255,0.08782361481677402,0.08785791864449327,0.08786290003494783,0.08786591345613654,0.08785679699345068,0.0878441601314328,0.08782118863680145,0.08778056434609673,0.08776960081674835,0.08787374537099492,0.08835666728290645,0.08826296268538995,0.08829668638381091,0.08829772065986287,0.08835690299218352,0.08840495618906888,0.08840851417996666,0.0884062647819519,0.08839858594265851,0.08841686560349031,0.08848405087536032,0.08888947692784396,0.08891227570447055,0.08888322656804865,0.08891036463054744,0.08887646821412173,0.08887317031621933,0.088903797282414,0.0889397795227441,0.08898311345414682,0.08901764994317835,0.08906550028107384,0.08911500329321081,0.0892333672805266,0.08948032693429427,0.08949215439232913,0.0895406962795691,0.08956203508106145,0.08957485177300194,0.08957656574520198,0.0895912427116524,0.08957491882822731,0.08957071873274716,0.08960589529438452,0.08961176770654591,0.08965239402922717,0.08966016532345251,0.08976679532365366,0.08977424048564651,0.08977384933016518,0.08977905119007284,0.08979455415498126,0.08979962495240298,0.08973874998363582,0.08974340828982266,0.08973356234756383,0.08971807665445587,0.08971585367213596,0.08976317434148355,0.08978010578589006,0.08978035470301454,0.09019547125155275,0.09034720469604839,0.09031753580678593,0.0903374816883694,0.09029401567849246,0.09026696194301952,0.09025562452999028,0.09021261063489047,0.0901767523451285,0.09017430381341414,0.09016489373012022,0.09014320847663013,0.0901176929473877,0.090106473388997,0.09014885127544403,0.09015536172823473,0.09016909788955342,0.0902089195495302,0.09019349583170631,0.09005335041067818,0.09002814069390297,0.08999323844909668,0.08992649513212117,0.08990004387768832,0.08993602814999493,0.08919228579510342,0.0889100967483087,0.08890038220719858,0.08890884538943117,0.0889333500103517,0.08898539502512325,0.08896571838042953,0.08918822048739954,0.08938045731999657,0.08940905738960613,0.08938257667151364,0.08940469270402734,0.0893960486758839,0.08936901018023491,0.08945741470564496,0.08945506878874519,0.08958712084726854,0.08971138840371912,0.08976955271580002,0.08997953378341415,0.0900471681220965,0.09005756574598225,0.09007442505522208,0.09007726779038255,0.09006993540308693,0.09006204930218784,0.09007824415510352,0.0900766399096359,0.09008929505944252,0.09009481187571179,0.09006221490827473,0.09004964916543527,0.09006331319158728,0.09005661579695615,0.09004370055415413,0.0900776752016761,0.09009589390321211,0.09012241729281166,0.09008974615823138,0.09013100442561237,0.0901235816153613,0.0901327407495542,0.09013513644987886,0.08984617245468227,0.08962020007046786,0.08944492075930942,0.08929974856701764,0.08930219100280241,0.08929649638858708,0.08928212015466257,0.0892880850217559,0.08931411667303606,0.08935786614363844,0.08898487348448146,0.08880179172212427,0.088788875463334,0.08879717100750316,0.08878347142176195,0.08877568996765396,0.08876784247430888,0.08880959755995056,0.08880583332343535,0.08881751718846234,0.08881936831907793,0.0888202115893364,0.08857998285781253,0.08849953216585246,0.08849188888614828,0.0883531892164187,0.08830079266970808,0.08830889822407202,0.08825462006709793,0.08821946788917888,0.08818212422457608,0.08817376467314633,0.0880887894467874,0.08809909359975295,0.08804706585678188,0.08799911629069936,0.0879979438402436,0.08799450268799608,0.08787298575043678,0.08778579770164056,0.08763252130963585,0.0875717696141113,0.08746987208724022,0.0874745740809224,0.08746698972853748,0.0874822082167322,0.08748299052769487,0.08761227808215401,0.08737008409066634,0.08629948645830154,0.08614961802959442,0.08618166331540454,0.08619951422918927,0.08621814237399535,0.08630886199799451,0.0861434858631004,0.0852700996805321,0.08511641587723386,0.0850592739880085,0.08505527302622795,0.0851097818125378,0.08517022397030484,0.08518801798874681,0.08517549898136746,0.08517769656398079,0.08519205857406963,0.0851928439329971,0.08509852059862831,0.08505395224148576,0.0850405056368221,0.08497838201847943,0.08495876430110498,0.08497909625822847,0.08498285643079063,0.08498012545433911,0.08497314358299429,0.084935589608821,0.08473192832686684,0.08468701046976176,0.0846999389204112,0.08467425880107013,0.08458643169565634,0.08450828899036754,0.08450865068218925,0.08448935706507076,0.08450721102682027,0.08451556651429697,0.08408211679621176,0.08399766717444766,0.08409261940555139,0.08409665931354869,0.08375052735209465,0.08381655541333285,0.08384905687787315,0.0837919603694569,0.0837868174368685,0.08401715890927748,0.08414114368232814,0.0842565806074576,0.08436487886038693,0.08439902520992539,0.08441669222983447,0.08441420407457785,0.08451018143783916,0.08457016944885254,0.08454829522154549,0.08457896181128242,0.08458637242967432,0.08456985246051442,0.08457887850024483,0.08457649499177933,0.08458806811408563,0.08452539789405736,0.08454338698224588,0.08452882075851614,0.08448349752209404,0.0845028053630482,0.0844504057683728,0.08444000001658093,0.0844599875536832,0.08442998440428214,0.08442769538272511,0.08464481952515515,0.08470619944008914,0.08508159525015137,0.0849731405350295,0.0849196385930885,0.08501461182128299,0.08498618345368993,0.08498222109946338,0.08499424024061723,0.085427156903527,0.08579046414657072,0.08575084771622311,0.08578359200195833,0.08579054542563179,0.08578998764807527,0.08581360429525375,0.08583206581798467,0.08589213409207085,0.08591675758361816,0.08588337525725365,0.08591170608997345,0.0858900858597322,0.08593906360593709,0.08595080030235377,0.08600994097915562,0.08611953563310883,0.08619546754793687,0.08624179458076303,0.08625868538563902,0.0862829207696698,0.08630822700533,0.08638199892911044,0.08643016998063434,0.08646144819530574,0.0863728282803839,0.08632465756752274,0.08626559579914267,0.08625827661969444,0.08629283850843256,0.08627603406255896,0.08621692488139326,0.08626048131422563,0.0862256379967386,0.08630848201838406,0.08633656393397938,0.08630199696529996,0.08629904856736009,0.08630612594160167,0.08627687259153886,0.08623452924869278,0.08694264326583255,0.08689116009257057,0.08685863932425325,0.08686189150268381,0.08684221688996661,0.08683474531227892,0.0868053791875189,0.0868173251775178,0.08682479370724071,0.08685068718411705],\"type\":\"scatter\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"red\",\"width\":1},\"name\":\"Chandelier Short\",\"x\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],\"y\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.09062610532749783,0.08998599885539575,0.08903082595630125,0.08873026276176627,0.08877254920926961,0.08858061649582603,0.08852991156957367,0.08847379040989009,0.08848426829684865,0.08848435973579233,0.08849237689917738,0.08841917697678912,0.08840605955232274,0.08843319964679805,0.0884579521688548,0.08835798264904456,0.08833446861668066,0.08802820166403597,0.08806163377382538,0.08806116540323604,0.08805428919467059,0.08807641741904346,0.0880598436025056,0.08795194666494023,0.0878360081802715,0.08784969455816528,0.08785011314532974,0.08789608763022856,0.08788701282306151,0.08791078796440904,0.08794840899380771,0.0879731767556884,0.08803178708661687,0.088092295283621,0.08810716427185318,0.08808511021462354,0.08806432715871117,0.08801840448921378,0.08799520642919974,0.0877654877575961,0.08778993345119736,0.08781677586111156,0.08779034594243224,0.08779834075407549,0.08773093975403091,0.08774970200928775,0.08777361938899214,0.08771646700122139,0.08765243230895563,0.0876126919280399,0.08759699998931451,0.08757286823608658,0.0875395346771587,0.08749821545048193,0.08743365041234276,0.08737083490599286,0.0873892568051815,0.08738051422617653,0.0873537388714877,0.08732222799550403,0.08733568476005034,0.08732426098801872,0.08725959841500629,0.08723562515594742,0.08723131634972313,0.08720555393533273,0.08720923181284558,0.08717492798512633,0.08722858266396956,0.08763693814927881,0.08785659311847253,0.08786922998049042,0.08789220147512176,0.08793282576582649,0.08794378929517487,0.08795682747255672,0.08799397098747166,0.08808767558498816,0.0880539518865672,0.08805291761051524,0.08816670050675218,0.08841290053996173,0.08846053548834541,0.08857689052820206,0.08858456936749545,0.08856628970666365,0.08856081759387796,0.08858968588438901,0.08856688710776242,0.08859593624418433,0.08856879818168553,0.08860269459811124,0.08860599249601364,0.08857536552981897,0.08853938328948888,0.08849604935808615,0.08885265344923193,0.08926255933263084,0.08927116339856928,0.0891927494244142,0.08921645446257158,0.08920894834128293,0.08916040645404295,0.08940056813034145,0.08964747122742912,0.08964575725522908,0.08963108028877866,0.08995765379884026,0.09004819122227756,0.090092944489284,0.0900870720771226,0.09004644575444135,0.090038674460216,0.0900181880728765,0.09001074291088364,0.09001113406636498,0.0900059322064573,0.08999042924154889,0.08998535844412717,0.09004623341289433,0.09004157510670749,0.09005142104896632,0.09006690674207428,0.0900691297243942,0.0900218090550466,0.09000487761064009,0.09000462869351561,0.09002948383038695,0.09008451889861714,0.0901141877878796,0.09009424190629613,0.09013770791617307,0.08996775339950215,0.08992870998653499,0.089695121076974,0.08966642008586363,0.08966886861757799,0.0896782787008719,0.08962261202660474,0.08964812755584717,0.08965934711423787,0.08961696922779083,0.08961045877500014,0.08959672261368144,0.08955690095370467,0.08957232467152855,0.08886707506396553,0.08856796100735664,0.08860286325216293,0.08866960656913844,0.08869605782357129,0.08866007355126468,0.08870147202502597,0.088652065531774,0.08862513066692786,0.08861666748469527,0.08859216286377473,0.08854011784900319,0.0885597944936969,0.08857325227423148,0.08856900849125603,0.08855495940555226,0.08858144012364474,0.08855932409113104,0.08856796811927449,0.08859500661492348,0.08861356262456287,0.08861590854146263,0.08848385648293929,0.08849459344690497,0.08844599568031052,0.088394838639281,0.08899283917112784,0.09006539833816615,0.09008400379256769,0.09008116105740721,0.0901316770098426,0.09021643075076016,0.09020023589784448,0.0902018401433121,0.09018918499350548,0.09022127870808948,0.08986383778127757,0.08978265286846594,0.08942232822830026,0.0894290256229314,0.08944194086573341,0.08940796621821144,0.08938974751667543,0.08936322412707588,0.08939589526165616,0.08935463699427518,0.08936205980452624,0.08935290067033334,0.08935050497000868,0.08933272111144933,0.08918015184727582,0.08915773000229489,0.08914562043818561,0.08914196355776353,0.08901343596252528,0.0890278121964498,0.08902184732935646,0.08899581567807631,0.08895206620747392,0.08895261179317128,0.08895386958664114,0.08896678584543141,0.08895849030126225,0.08897218988700346,0.08897997134111145,0.08898781883445653,0.08894606374881485,0.08894982798533006,0.08893814412030307,0.08893629298968748,0.08893544971942902,0.0889532935212959,0.08892259645191106,0.08893023973161523,0.08812815458937125,0.08761473169380968,0.08760662613944574,0.0873139009556987,0.08730724792588841,0.08734459159049121,0.08735295114192096,0.08726177974180742,0.08696903897957368,0.08644199269739064,0.08610080588947643,0.08607280186631462,0.08607624301856215,0.08570349588990211,0.08579068393869833,0.08580814369700172,0.08584538881074298,0.08587696775794029,0.08587226576425812,0.08587985011664304,0.08586463162844832,0.08586384931748564,0.0857345617630265,0.08567595346407457,0.08567985892295837,0.08565055578947067,0.08561851050366055,0.08560065958987582,0.08558203144506975,0.08549131182107059,0.08549614284526218,0.08544251288880002,0.08541192148219455,0.08538739755749702,0.08539139851927757,0.08533688973296773,0.08527644757520068,0.08563333580439741,0.0857123735953461,0.0857088945128701,0.08567501943219792,0.08567423407327045,0.08511050722815773,0.08473618904298003,0.08451184291731227,0.08406866815957156,0.08408828587694601,0.08406795391982252,0.08406419374726036,0.08406692472371188,0.0840739065950567,0.08411146056923,0.08390802957794884,0.08336894112554463,0.08314933356913654,0.0831750136884776,0.08326284079389139,0.08334098349918019,0.08334062180735848,0.08335991542447697,0.08334206146272746,0.08333370597525076,0.0833708444102244,0.08335901017893445,0.08326405794783072,0.08319849114526402,0.08320185914635658,0.08313583108511838,0.08310332962057808,0.08316042612899434,0.08316556906158273,0.08315473659472032,0.08319739895788106,0.08315859125419096,0.08305029300126163,0.08301614665172317,0.08299847963181409,0.08300096778707071,0.08301310579885136,0.08322791755199432,0.08434420756318352,0.0844786681912162,0.08449723029678519,0.0840445723045956,0.08401125737211922,0.08401364088058472,0.08400206775827841,0.08384119820865718,0.08382320912046866,0.0838377753441984,0.0838830985806205,0.08386379073966634,0.08391619033434174,0.0839265960861336,0.08390660854903134,0.0839366116984324,0.08393890071998943,0.08399322358044711,0.08402227881279858,0.08407702737233856,0.08418548208746043,0.08423898402940143,0.08423656191338193,0.08426499028097499,0.08426895263520154,0.08425693349404768,0.08431877263567665,0.08436613394455476,0.08440575037490237,0.08437300608916716,0.0843660526654937,0.08479567447846587,0.08477205783128738,0.08480509472164241,0.085122443058274,0.08554760366678238,0.0859515555202961,0.0859232246875763,0.08594484491781755,0.0859219144013795,0.08603513884273442,0.08601456982168285,0.08590497516772964,0.0858290432529016,0.0862148871476,0.08628552576357668,0.0862612903795459,0.0862359841438857,0.08636011454192075,0.08661860938776623,0.08658733117309483,0.08655549010092561,0.08656012707135895,0.08656875585967844,0.08638939329169014,0.08621596003120596,0.08620088344270532,0.08625999262387102,0.08621643619103865,0.08625127950852568,0.08622843501242725,0.08620035309683192,0.08623492006551135,0.08623786846345122,0.08623079108920964,0.08626004443927245,0.08630238778211853,0.08638026531447064,0.08643174848773262,0.08646426925604994,0.08646101707761938,0.08648069169033658,0.08648816326802428,0.08651752939278429,0.08650558340278539,0.08649811487306248,0.08647222139618614],\"type\":\"scatter\",\"xaxis\":\"x\",\"yaxis\":\"y\"},{\"line\":{\"color\":\"blue\",\"width\":1},\"name\":\"ATR\",\"x\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],\"y\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.00039798859506845474,0.0004144612078865369,0.00041936617344617844,0.00042687542736530304,0.0004413456966479619,0.0004317645604411761,0.0004390086978673935,0.0004320094982783,0.00043563110133012134,0.00042295797417561215,0.0004295622929930687,0.0004215352237224579,0.00041654550780852634,0.0004113679751753807,0.0004240395501255989,0.00042311691989501316,0.0004244375353058179,0.0004209162046511968,0.0004183286800980568,0.0004121611515680949,0.0004225665082534154,0.00042434533437093097,0.00041557444880406064,0.00042074484129746753,0.0004127994179725647,0.00039020925760269165,0.00036802981048822403,0.00037564927091201145,0.00036719969163338345,0.00036905364443858463,0.00037147073696057004,0.0003835136691729228,0.0004048251236478488,0.000415258730451266,0.00041236262768507004,0.0004228129982948303,0.0004331422969698906,0.0004260198523600896,0.00041268890102704364,0.00042356085032224655,0.0004356276864806811,0.0004360011468331019,0.00042811532815297443,0.000432480126619339,0.0004266084482272466,0.00043075035015741986,0.0004351772367954254,0.0004280923555294673,0.00042177240053812665,0.0004130670179923375,0.0003996947780251503,0.0003801273802916209,0.00037513207644224167,0.00036728506286938983,0.0003573729967077573,0.0003410450493295987,0.0003258691479762395,0.00031515955924987793,0.0003127641975879669,0.00030275216946999234,0.0002998833854993184,0.00030517174551884335,0.0003045688693722089,0.00029549157867829007,0.00027881966282924015,0.00026711076498031616,0.00027043869098027545,0.0002616560086607933,0.0002637626603245735,0.00025002410014470416,0.0002391816427310308,0.0002518007531762123,0.0002650137369831403,0.00027000221113363904,0.00027315163364013034,0.0002766620988647143,0.00028828469415505725,0.0003132140263915062,0.0003074618677298228,0.00031562987715005875,0.0003343249360720317,0.0003440321112672488,0.00034825752178827923,0.0003718590984741847,0.00036949074516693753,0.00035831859956185025,0.00035973265767097473,0.00036416978885730106,0.00036184800167878467,0.00036981329321861267,0.0003625039632121722,0.0003696043665210406,0.00036129169166088104,0.00036547333002090454,0.0003649061545729637,0.0003527924418449402,0.0003441888839006424,0.00033031807591517765,0.0003234647835294406,0.00032045040279626846,0.00031059204290310544,0.0002878345549106598,0.00030200183391571045,0.00030550484855969745,0.00027909471342960995,0.00028512471665938693,0.0002793588985999425,0.00026448971281449,0.00026484082142512005,0.00026411501069863635,0.00026167090982198715,0.000248401736219724,0.00024568413694699603,0.0002376486857732137,0.00023535328606764475,0.0002292972058057785,0.00022613288213809332,0.0002186403920253118,0.00021948199719190598,0.00023745279759168625,0.00023391004651784897,0.00023887244363625845,0.00024887174367904663,0.0002507533257206281,0.00024321830521027246,0.00024384136001269022,0.00023218741019566855,0.00025233222792545956,0.00026682081321875256,0.00026154083510239917,0.0002602819974223773,0.0002678496142228444,0.0002723885700106621,0.00027333199977874756,0.00028555188328027725,0.00030088673035303753,0.00030171405524015427,0.00030479300767183304,0.0003105296442906062,0.00031071404616038006,0.0003165733069181442,0.00032633232573668164,0.0003223496799667676,0.0003045142317811648,0.00030376917372147244,0.0003073550760746002,0.00033791052798430127,0.0003455573072036107,0.0003590270256002744,0.0004047391315301259,0.0004273861025770505,0.0004035163049896558,0.0003985688090324402,0.0003819745033979416,0.00038437793652216595,0.0003694541131456693,0.0003659200544158618,0.00036188804854949314,0.0003555845469236374,0.0003518188993136088,0.0003555106619993846,0.0003485269844532013,0.00035585152606169385,0.00035105645656585693,0.0003462868432203929,0.0003496619562307994,0.0003565760950247447,0.0003650759657224019,0.0003674499069650968,0.00037366462250550586,0.00032946281135082245,0.00032321053246657055,0.00031452688078085583,0.00026708624015251797,0.0002489049608508746,0.0002424372360110283,0.00023443158715963364,0.00023701383421818414,0.00023676144580046335,0.00023580559839804968,0.00023312276850144067,0.00024357407043377557,0.00025121370951334637,0.00024395746489365896,0.00024840359886487323,0.0002499477316935857,0.00024103311200936636,0.00024078475932280222,0.00023949084182580313,0.00023162458091974258,0.00023831147700548172,0.00023120269179344177,0.00022961820165316263,0.00021728655944267908,0.000222720205783844,0.00021410702417294183,0.00022632069885730743,0.00022536485145489374,0.00021881051361560822,0.00022151507437229156,0.00022076225529114404,0.00022178950409094492,0.0002222325031956037,0.00022423950334390005,0.0002223780999581019,0.0002169742559393247,0.00021184453119834265,0.0002134957661231359,0.00020622151593367258,0.00020811272164185843,0.00020525014648834863,0.00021016287306944528,0.0002096580962340037,0.00021180386344591776,0.00019666645675897598,0.00019637588411569595,0.0001992837836345037,0.00019892149915297827,0.00020248753329118094,0.00020930108924706778,0.0002353982999920845,0.00025177809099356335,0.00025224871933460236,0.00027060726036628086,0.00028005118171374005,0.0002890760079026222,0.00029159151017665863,0.00032010643432537716,0.00032519611219565075,0.0003425780062874158,0.00034957068661848706,0.0003478735064466794,0.00034859714408715564,0.0003604625041286151,0.0003842208534479141,0.0003893037016193072,0.000398305244743824,0.00040651361147562665,0.00041155486057202023,0.0004140756403406461,0.000413249246776104,0.0004143714904785156,0.00041034383078416187,0.0004064800838629405,0.0003657635922233264,0.00035915834208329517,0.00036128734548886615,0.00034827273339033127,0.00033435535927613574,0.00032373983412981033,0.0003277513508995374,0.0003027816613515218,0.0003035754586259524,0.00027848749111096066,0.0002657823885480563,0.00026063403735558194,0.000264872486392657,0.00025337965538104373,0.00023956565807263056,0.00024176761507987976,0.00023104002078374228,0.0002236717070142428,0.00025310305257638294,0.0002655259643991788,0.00027025708307822544,0.0002856145923336347,0.00029039693375428516,0.0002954872325062752,0.00029527395963668823,0.00029204754779736203,0.0002900551383694013,0.00029636888454357785,0.00033594761043787,0.00035242270678281784,0.00034778999785582226,0.00034693566461404163,0.00037041399627923965,0.0003966360042492549,0.00039954142024119693,0.00041059932361046475,0.00040979838619629544,0.00041488433877627057,0.00041167934735616046,0.0004013665020465851,0.00040617305785417557,0.00039880163967609406,0.000375740850965182,0.00035730501015981037,0.0003480476637681325,0.0003516019011537234,0.00034696577737728756,0.00034664198756217957,0.000358834241827329,0.00035245561351378757,0.00035680985699097317,0.00035137652109066647,0.00031147028009096783,0.00029765131572882336,0.0002957535907626152,0.00029579922556877136,0.0002785523732503255,0.00025636299202839535,0.0002534082159399986,0.00025764666497707367,0.00025713909417390823,0.00025010760873556137,0.0002400300775965055,0.0002554239084323247,0.0002558796356121699,0.00026192888617515564,0.00026549119502305984,0.000283321055273215,0.0003046269218126933,0.00029003651191790897,0.0002945500115553538,0.00030064893265565235,0.0002926668773094813,0.00031569010267655057,0.00031775298217932385,0.000331096351146698,0.0003677358229955037,0.00038336900373299915,0.000394708476960659,0.00039953521142403287,0.00039110736300547916,0.0004010436435540517,0.00042169572164614994,0.0004240879788994789,0.00042887342472871143,0.0004335337628920873,0.0004354010646541913,0.00042247151335080463,0.0004243142902851105,0.0004320523391167323,0.00042115524411201477,0.0004049406076471011,0.00040364327530066174,0.00039790601780017215,0.000402637446920077,0.00040152762085199356,0.0003993048643072446,0.000377978819111983,0.00037225304792324704,0.000347956083714962,0.00031200113395849865,0.00029531897356112796,0.0002802259599169095,0.0002737433339158694,0.00027064327150583267,0.00026198911170164746,0.0002383220319946607,0.00021878164261579514,0.00020996077607075372,0.00020967299739519754,0.00021587684750556946,0.00021288388719161352,0.00021433768173058829,0.00022182520478963852,0.00022557315727074942,0.00023800631364186606,0.00022555732478698096,0.00022452355672915777,0.00022625674804051718,0.00022079702466726303,0.00021649493525425592,0.0002192072570323944,0.00022967780629793802,0.00025999297698338825,0.00027478641519943875,0.0002834017698963483,0.00028671324253082275,0.00029180323084195453,0.0002929605543613434,0.000297112079958121,0.00029419828206300735,0.0003013576691349347,0.0002982327714562416],\"type\":\"scatter\",\"xaxis\":\"x2\",\"yaxis\":\"y2\"},{\"marker\":{\"color\":\"green\",\"size\":9,\"symbol\":\"arrow-up\"},\"mode\":\"markers\",\"name\":\"Enter Long\",\"x\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],\"y\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08844961225986481,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.0877106785774231,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08831799030303955,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.09005864709615707,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.09007636457681656,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08933398872613907,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08903152495622635,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.0856880396604538,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08424125611782074,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08391255885362625,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08627768605947495,null,null,null,null,null,null,null,null,null,0.08634064346551895,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\"type\":\"scatter\"},{\"marker\":{\"color\":\"red\",\"size\":9,\"symbol\":\"arrow-down\"},\"mode\":\"markers\",\"name\":\"Exit Long\",\"x\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399],\"y\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08710654079914093,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08780047297477722,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.0893496721982956,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08957219123840332,null,null,null,null,null,null,null,null,null,0.09006579220294952,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08976428210735321,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08876710385084152,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08504176884889603,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08437426388263702,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0.08606430888175964,null,null,null,null,null,null,0.08640124648809433,null,null,null,null,null,null,null,null,null,null,null,null,0.08628971874713898,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\"type\":\"scatter\"}],                        {\"template\":{\"data\":{\"bar\":[{\"error_x\":{\"color\":\"#2a3f5f\"},\"error_y\":{\"color\":\"#2a3f5f\"},\"marker\":{\"line\":{\"color\":\"#E5ECF6\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"bar\"}],\"barpolar\":[{\"marker\":{\"line\":{\"color\":\"#E5ECF6\",\"width\":0.5},\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"barpolar\"}],\"carpet\":[{\"aaxis\":{\"endlinecolor\":\"#2a3f5f\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"#2a3f5f\"},\"baxis\":{\"endlinecolor\":\"#2a3f5f\",\"gridcolor\":\"white\",\"linecolor\":\"white\",\"minorgridcolor\":\"white\",\"startlinecolor\":\"#2a3f5f\"},\"type\":\"carpet\"}],\"choropleth\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"choropleth\"}],\"contour\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"type\":\"contour\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"contourcarpet\"}],\"heatmap\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"type\":\"heatmap\"}],\"heatmapgl\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"type\":\"heatmapgl\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"histogram2d\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"type\":\"histogram2d\"}],\"histogram2dcontour\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"type\":\"histogram2dcontour\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatter\"}],\"scatter3d\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatter3d\"}],\"scattercarpet\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattercarpet\"}],\"scattergeo\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattergeo\"}],\"scattergl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattergl\"}],\"scattermapbox\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scattermapbox\"}],\"scatterpolar\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterpolar\"}],\"scatterpolargl\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterpolargl\"}],\"scatterternary\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"scatterternary\"}],\"surface\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"type\":\"surface\"}],\"table\":[{\"cells\":{\"fill\":{\"color\":\"#EBF0F8\"},\"line\":{\"color\":\"white\"}},\"header\":{\"fill\":{\"color\":\"#C8D4E3\"},\"line\":{\"color\":\"white\"}},\"type\":\"table\"}]},\"layout\":{\"annotationdefaults\":{\"arrowcolor\":\"#2a3f5f\",\"arrowhead\":0,\"arrowwidth\":1},\"autotypenumbers\":\"strict\",\"coloraxis\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"colorscale\":{\"diverging\":[[0,\"#8e0152\"],[0.1,\"#c51b7d\"],[0.2,\"#de77ae\"],[0.3,\"#f1b6da\"],[0.4,\"#fde0ef\"],[0.5,\"#f7f7f7\"],[0.6,\"#e6f5d0\"],[0.7,\"#b8e186\"],[0.8,\"#7fbc41\"],[0.9,\"#4d9221\"],[1,\"#276419\"]],\"sequential\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]],\"sequentialminus\":[[0.0,\"#0d0887\"],[0.1111111111111111,\"#46039f\"],[0.2222222222222222,\"#7201a8\"],[0.3333333333333333,\"#9c179e\"],[0.4444444444444444,\"#bd3786\"],[0.5555555555555556,\"#d8576b\"],[0.6666666666666666,\"#ed7953\"],[0.7777777777777778,\"#fb9f3a\"],[0.8888888888888888,\"#fdca26\"],[1.0,\"#f0f921\"]]},\"colorway\":[\"#636efa\",\"#EF553B\",\"#00cc96\",\"#ab63fa\",\"#FFA15A\",\"#19d3f3\",\"#FF6692\",\"#B6E880\",\"#FF97FF\",\"#FECB52\"],\"font\":{\"color\":\"#2a3f5f\"},\"geo\":{\"bgcolor\":\"white\",\"lakecolor\":\"white\",\"landcolor\":\"#E5ECF6\",\"showlakes\":true,\"showland\":true,\"subunitcolor\":\"white\"},\"hoverlabel\":{\"align\":\"left\"},\"hovermode\":\"closest\",\"mapbox\":{\"style\":\"light\"},\"paper_bgcolor\":\"white\",\"plot_bgcolor\":\"#E5ECF6\",\"polar\":{\"angularaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"},\"bgcolor\":\"#E5ECF6\",\"radialaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"}},\"scene\":{\"xaxis\":{\"backgroundcolor\":\"#E5ECF6\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"white\"},\"yaxis\":{\"backgroundcolor\":\"#E5ECF6\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"white\"},\"zaxis\":{\"backgroundcolor\":\"#E5ECF6\",\"gridcolor\":\"white\",\"gridwidth\":2,\"linecolor\":\"white\",\"showbackground\":true,\"ticks\":\"\",\"zerolinecolor\":\"white\"}},\"shapedefaults\":{\"line\":{\"color\":\"#2a3f5f\"}},\"ternary\":{\"aaxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"},\"baxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"},\"bgcolor\":\"#E5ECF6\",\"caxis\":{\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\"}},\"title\":{\"x\":0.05},\"xaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\",\"zerolinewidth\":2},\"yaxis\":{\"automargin\":true,\"gridcolor\":\"white\",\"linecolor\":\"white\",\"ticks\":\"\",\"title\":{\"standoff\":15},\"zerolinecolor\":\"white\",\"zerolinewidth\":2}}},\"xaxis\":{\"anchor\":\"y\",\"domain\":[0.0,1.0]},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.625,1.0]},\"xaxis2\":{\"anchor\":\"y2\",\"domain\":[0.0,1.0]},\"yaxis2\":{\"anchor\":\"x2\",\"domain\":[0.0,0.375]},\"annotations\":[{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"close\",\"x\":0.5,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":1.0,\"yanchor\":\"bottom\",\"yref\":\"paper\"},{\"font\":{\"size\":16},\"showarrow\":false,\"text\":\"ATR\",\"x\":0.5,\"xanchor\":\"center\",\"xref\":\"paper\",\"y\":0.375,\"yanchor\":\"bottom\",\"yref\":\"paper\"}],\"title\":{\"text\":\"DOGE-USD with Chandelier Exits\",\"x\":0.5},\"autosize\":false,\"width\":1000,\"height\":800},                        {\"responsive\": true}                    ).then(function(){\n",
       "                            \n",
       "var gd = document.getElementById('d2322532-0f2d-4425-929e-4a80192e9597');\n",
       "var x = new MutationObserver(function (mutations, observer) {{\n",
       "        var display = window.getComputedStyle(gd).display;\n",
       "        if (!display || display === 'none') {{\n",
       "            console.log([gd, 'removed!']);\n",
       "            Plotly.purge(gd);\n",
       "            observer.disconnect();\n",
       "        }}\n",
       "}});\n",
       "\n",
       "// Listen for the removal of the full notebook cells\n",
       "var notebookContainer = gd.closest('#notebook-container');\n",
       "if (notebookContainer) {{\n",
       "    x.observe(notebookContainer, {childList: true});\n",
       "}}\n",
       "\n",
       "// Listen for the clearing of the current output cell\n",
       "var outputEl = gd.closest('.output');\n",
       "if (outputEl) {{\n",
       "    x.observe(outputEl, {childList: true});\n",
       "}}\n",
       "\n",
       "                        })                };                });            </script>        </div>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# MAIN\n",
    "symbol = 'DOGE-USD'\n",
    "\n",
    "# Valid periods: 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max\n",
    "# Fetch data by interval (including intraday if period < 60 days)\n",
    "        # valid intervals: 1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo\n",
    "period = '1d'\n",
    "interval = '15m'\n",
    "atr_period = 24\n",
    "prepost = True\n",
    "today = datetime.date.today()\n",
    "today_date_str = today.strftime(\"%Y-%m-%d\")#  NOTE: 7 days is the max allowed\n",
    "days = datetime.timedelta(7)\n",
    "start_date = today - days\n",
    "start_date_str = datetime.datetime.strftime(start_date, \"%Y-%m-%d\")#  Coins to download\n",
    "df = load_historic_data(symbol, start_date_str, today_date_str, period, interval, prepost)\n",
    "\n",
    "start_investment = 100\n",
    "df = df.tail(400)\n",
    "df.reset_index(inplace=True)\n",
    "df = calculate_tis(df, atr_period)\n",
    "df = calculate_signals(df)\n",
    "df.to_csv('df.csv')\n",
    "\n",
    "long_entry_prices, long_exit_prices, short_entry_prices, short_exit_prices = execute_strategy(df)\n",
    "profit = calculate_profit(start_investment, long_entry_prices, long_exit_prices, short_entry_prices, short_exit_prices)\n",
    "print(f\"Total profit: {profit}\")\n",
    "\n",
    "plot_graph(symbol, df, atr_period, long_entry_prices, long_exit_prices, short_entry_prices, short_exit_prices)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [conda env:tradesystem1]",
   "language": "python",
   "name": "conda-env-tradesystem1-py"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
